Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 101.8 kB / 16.64 MB, free: 6.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 194.5 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.559/1.559, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1993/0.1993, allocations: 43.51 MB / 314.3 MB, free: 0.7109 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 70.52 kB / 382.9 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08208/0.0835, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002848/0.08638, allocations: 1.959 MB / 442.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.08753, allocations: 0.8312 MB / 443.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.08767, allocations: 4 kB / 443.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.08801, allocations: 35.83 kB / 443.5 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.08827, allocations: 51.77 kB / 443.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.08857, allocations: 95.45 kB / 443.6 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.08876, allocations: 139.6 kB / 443.8 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.08889, allocations: 29.7 kB / 443.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.581e-05/0.089, allocations: 55.72 kB / 443.9 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.721e-05/0.08909, allocations: 51.66 kB / 443.9 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.08912, allocations: 4 kB / 443.9 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.08923, allocations: 55.97 kB / 444 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.08929, allocations: 23.92 kB / 444 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.08936, allocations: 51.67 kB / 444 MB, free: 3.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.08955, allocations: 107.8 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.08956, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.08957, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.08958, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005093/0.09009, allocations: 476.4 kB / 444.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.09013, allocations: 15.88 kB / 444.6 MB, free: 3.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.09019, allocations: 20.75 kB / 444.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.09039, allocations: 217.3 kB / 444.9 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.09042, allocations: 8.375 kB / 444.9 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.09044, allocations: 8.125 kB / 444.9 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.09067, allocations: 116.1 kB / 445 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.09069, allocations: 0 / 445 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.09071, allocations: 0 / 445 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.09072, allocations: 8 kB / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.09086, allocations: 51.89 kB / 445.1 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.09133, allocations: 0.5125 MB / 445.6 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.09164, allocations: 90.59 kB / 445.7 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.09173, allocations: 40.83 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.09177, allocations: 0 / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/0.09201, allocations: 87.31 kB / 445.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.09202, allocations: 0 / 445.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003407/0.09237, allocations: 141.4 kB / 445.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.0924, allocations: 59.34 kB / 446 MB, free: 1.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.09254, allocations: 187.4 kB / 446.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.09256, allocations: 33.7 kB / 446.2 MB, free: 1.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.09262, allocations: 116 kB / 446.3 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.09264, allocations: 27.66 kB / 446.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.09269, allocations: 33.7 kB / 446.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.776e-05/0.09274, allocations: 326.8 kB / 446.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.809e-05/0.09282, allocations: 23.98 kB / 446.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.941e-05/0.09291, allocations: 64.27 kB / 446.8 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.09307, allocations: 96.2 kB / 446.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.09308, allocations: 0 / 446.9 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002241/0.09331, allocations: 141.4 kB / 447 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.09333, allocations: 8 kB / 447 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.09334, allocations: 3.984 kB / 447 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.09336, allocations: 0 / 447 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.824e-05/0.09345, allocations: 23.94 kB / 447 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.09347, allocations: 4.453 kB / 447 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.09354, allocations: 15.91 kB / 447.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.09355, allocations: 8 kB / 447.1 MB, free: 0.6602 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.557e-05/0.09364, allocations: 134.4 kB / 447.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.09367, allocations: 19.8 kB / 447.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.023e-05/0.09371, allocations: 17.34 kB / 447.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.09372, allocations: 3.938 kB / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.09373, allocations: 0 / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.09374, allocations: 0 / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.09385, allocations: 213.5 kB / 447.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.09386, allocations: 0 / 447.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.09394, allocations: 15.98 kB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.09395, allocations: 0 / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.09396, allocations: 3.938 kB / 447.5 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.09397, allocations: 7.938 kB / 447.5 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.09398, allocations: 4 kB / 447.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.0943, allocations: 180.9 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.697e-05/0.09436, allocations: 84.95 kB / 447.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.09439, allocations: 4.031 kB / 447.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.09447, allocations: 11.98 kB / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.09451, allocations: 12 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.09453, allocations: 3.938 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.09467, allocations: 141.2 kB / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09467, allocations: 0 / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.09492, allocations: 27.91 kB / 447.9 MB, free: 15.69 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000936/0.09586, allocations: 411.9 kB / 448.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.09612, allocations: 87.84 kB / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.09614, allocations: 0 / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.724e-05/0.09624, allocations: 39.97 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.09655, allocations: 31.92 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.09709, allocations: 330.3 kB / 448.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.09736, allocations: 0.72 MB / 449.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.09741, allocations: 15.44 kB / 449.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09742, allocations: 0 / 449.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Templates: time 0.003935/0.1014, allocations: 2.159 MB / 451.7 MB, free: 11.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches