Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000999/0.0009991, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.0009739, allocations: 88.25 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3541/0.3541, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.23e-05, allocations: 7.984 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3838/0.5045, allocations: 88.41 MB / 0.5592 GB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/0.5047, allocations: 73.2 kB / 0.5592 GB, free: 15.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01622/0.5209, allocations: 6.93 MB / 0.566 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.521, allocations: 0 / 0.566 GB, free: 11.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.521, allocations: 4 kB / 0.566 GB, free: 11.44 MB / 394.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.0004534/0.5214, allocations: 0.4943 MB / 0.5665 GB, free: 10.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5215, allocations: 8.031 kB / 0.5665 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.5216, allocations: 27.16 kB / 0.5665 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.522, allocations: 285.2 kB / 0.5668 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.522, allocations: 4 kB / 0.5668 GB, free: 10.58 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.522, allocations: 11.36 kB / 0.5668 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.5222, allocations: 103.4 kB / 0.5669 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.5222, allocations: 0 / 0.5669 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.5222, allocations: 0 / 0.5669 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.5222, allocations: 3.625 kB / 0.5669 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.5223, allocations: 39.8 kB / 0.5669 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.5227, allocations: 395.2 kB / 0.5673 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5229, allocations: 117.4 kB / 0.5674 GB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.523, allocations: 44.34 kB / 0.5675 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.523, allocations: 0 / 0.5675 GB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5231, allocations: 119.3 kB / 0.5676 GB, free: 9.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.5232, allocations: 0 / 0.5676 GB, free: 9.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002722/0.5234, allocations: 147.5 kB / 0.5677 GB, free: 9.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.5235, allocations: 106.6 kB / 0.5678 GB, free: 9.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.5238, allocations: 307.5 kB / 0.5681 GB, free: 9.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.5238, allocations: 29.08 kB / 0.5681 GB, free: 9.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.5239, allocations: 139.2 kB / 0.5683 GB, free: 9.164 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.5239, allocations: 30.83 kB / 0.5683 GB, free: 9.137 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-06/0.5239, allocations: 3.188 kB / 0.5683 GB, free: 9.137 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.362e-05/0.524, allocations: 336.8 kB / 0.5686 GB, free: 8.809 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.098e-05/0.524, allocations: 33.81 kB / 0.5687 GB, free: 8.785 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.5241, allocations: 74.08 kB / 0.5687 GB, free: 8.711 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.715e-05/0.5242, allocations: 39.72 kB / 0.5688 GB, free: 8.684 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5242, allocations: 4 kB / 0.5688 GB, free: 8.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001694/0.5243, allocations: 139.8 kB / 0.5689 GB, free: 8.562 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.5244, allocations: 11.94 kB / 0.5689 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.5244, allocations: 0 / 0.5689 GB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.5244, allocations: 4 kB / 0.5689 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5245, allocations: 24.7 kB / 0.5689 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5245, allocations: 0 / 0.5689 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.5246, allocations: 12.06 kB / 0.569 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.5246, allocations: 15.25 kB / 0.569 GB, free: 8.504 MB / 394.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 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.5247, allocations: 125.3 kB / 0.5691 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.5247, allocations: 23.72 kB / 0.5691 GB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.525, allocations: 169.1 kB / 0.5693 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.525, allocations: 0 / 0.5693 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.525, allocations: 4 kB / 0.5693 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.525, allocations: 4 kB / 0.5693 GB, free: 8.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.5252, allocations: 272.7 kB / 0.5695 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5252, allocations: 0 / 0.5695 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.5252, allocations: 11.94 kB / 0.5696 GB, free: 7.918 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5252, allocations: 4 kB / 0.5696 GB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.5252, allocations: 3.984 kB / 0.5696 GB, free: 7.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5253, allocations: 5.312 kB / 0.5696 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5253, allocations: 0 / 0.5696 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.5255, allocations: 204.3 kB / 0.5698 GB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.775e-05/0.5255, allocations: 108.8 kB / 0.5699 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.5256, allocations: 3.375 kB / 0.5699 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.5257, allocations: 11.98 kB / 0.5699 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.5257, allocations: 11.73 kB / 0.5699 GB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.5257, allocations: 4 kB / 0.5699 GB, free: 7.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000185/0.5259, allocations: 245.5 kB / 0.5701 GB, free: 7.375 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5259, allocations: 4 kB / 0.5701 GB, free: 7.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002268/0.5262, allocations: 54.88 kB / 0.5702 GB, free: 7.324 MB / 394.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007917/0.527, allocations: 386.9 kB / 0.5706 GB, free: 7.016 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.5272, allocations: 92.91 kB / 0.5706 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5272, allocations: 0 / 0.5706 GB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.5273, allocations: 53.67 kB / 0.5707 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.5276, allocations: 62.45 kB / 0.5708 GB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.528, allocations: 297.2 kB / 0.571 GB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001527/0.5282, allocations: 0.7437 MB / 0.5718 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.956e-05/0.5283, allocations: 45.66 kB / 0.5718 GB, free: 5.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.5283, allocations: 22.81 kB / 0.5718 GB, free: 5.758 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5284, allocations: 0 / 0.5718 GB, free: 5.758 MB / 394.7 MB Notification: Performance of Templates: time 0.005184/0.5335, allocations: 2.961 MB / 0.5747 GB, free: 2.816 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches