Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 83.58 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 161.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.019/1.019, allocations: 177.2 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2655/0.2655, allocations: 34.25 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|booleanTable.y|booleanTable.combiTimeTable.y.[0-9,]+.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.396e-05, allocations: 2.312 kB / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002687/0.002711, allocations: 1.993 MB / 380.1 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.004276, allocations: 1.177 MB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.00438, allocations: 7.938 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006/0.00498, allocations: 203.3 kB / 381.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004055/0.005385, allocations: 207.1 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.005733, allocations: 163.4 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.00601, allocations: 279.1 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.006112, allocations: 16.58 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.00627, allocations: 139.7 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.006401, allocations: 107.7 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.006425, allocations: 12 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.006551, allocations: 63.83 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.006623, allocations: 59.77 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.94e-05/0.006683, allocations: 47.8 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.006935, allocations: 187.3 kB / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.006938, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006939, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.006943, allocations: 0 / 382.8 MB, free: 13.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005878/0.007531, allocations: 0.5905 MB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.007565, allocations: 12.03 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.007627, allocations: 28.75 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.007885, allocations: 237.4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.007903, allocations: 4.375 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.007918, allocations: 8.375 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.008069, allocations: 93.52 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.008078, allocations: 3.938 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.008088, allocations: 0 / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.008095, allocations: 4 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.029e-05/0.008145, allocations: 27.91 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.008524, allocations: 363.4 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.008669, allocations: 110.1 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.008716, allocations: 39.34 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.00873, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.008864, allocations: 116.3 kB / 384.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.008865, allocations: 4 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002625/0.009128, allocations: 145.9 kB / 384.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.009163, allocations: 85.09 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.009395, allocations: 338.3 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.009414, allocations: 33.69 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.009498, allocations: 190.8 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.009528, allocations: 31.84 kB / 385.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.009571, allocations: 39.36 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.009694, allocations: 0.5118 MB / 385.7 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.00973, allocations: 16 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.351e-05/0.009793, allocations: 92.11 kB / 385.8 MB, free: 10.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.37e-05/0.009877, allocations: 82.75 kB / 385.9 MB, free: 10.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.00988, allocations: 3.938 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001493/0.01003, allocations: 129.4 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.01005, allocations: 4 kB / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.01005, allocations: 0 / 386 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.01007, allocations: 4.094 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.01015, allocations: 23.98 kB / 386.1 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.01016, allocations: 7.938 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.01021, allocations: 19.88 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-06/0.01021, allocations: 4 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.625e-05/0.0103, allocations: 172.5 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.01033, allocations: 23.86 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.01052, allocations: 151.5 kB / 386.4 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01052, allocations: 0 / 386.4 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01052, allocations: 4.188 kB / 386.4 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01053, allocations: 8 kB / 386.5 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.01068, allocations: 196.5 kB / 386.6 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.01068, allocations: 7.938 kB / 386.7 MB, free: 9.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/0.01071, allocations: 11.98 kB / 386.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01071, allocations: 0 / 386.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.01072, allocations: 8 kB / 386.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01072, allocations: 0 / 386.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.01072, allocations: 0 / 386.7 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.0109, allocations: 183.9 kB / 386.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.677e-05/0.01093, allocations: 35.69 kB / 386.9 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.01096, allocations: 7.984 kB / 386.9 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.011, allocations: 8 kB / 386.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.01104, allocations: 7.984 kB / 386.9 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.01106, allocations: 11.98 kB / 386.9 MB, free: 9.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.0112, allocations: 239 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0112, allocations: 0 / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001826/0.01138, allocations: 36 kB / 387.2 MB, free: 9.102 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009077/0.01229, allocations: 402.6 kB / 387.6 MB, free: 8.848 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001476/0.01244, allocations: 71.59 kB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01244, allocations: 0 / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.422e-05/0.01249, allocations: 47.59 kB / 387.7 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01274, allocations: 83.86 kB / 387.8 MB, free: 8.648 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.01321, allocations: 366.4 kB / 388.1 MB, free: 8.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.01331, allocations: 83.97 kB / 388.2 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.176e-05/0.01337, allocations: 38.08 kB / 388.3 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.01342, allocations: 24.48 kB / 388.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01342, allocations: 0 / 388.3 MB, free: 8.098 MB / 362.7 MB Notification: Performance of Templates: time 0.005279/0.0187, allocations: 3.233 MB / 391.5 MB, free: 4.906 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3953840020112693]