Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 111.6 kB / 17.04 MB, free: 5.812 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.001273/0.001273, allocations: 195 kB / 17.98 MB, free: 5.027 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.468/1.468, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2212/0.2212, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 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.00148/0.00148, allocations: 75.88 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002683/0.1179, allocations: 1.688 MB / 443.7 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1189, allocations: 0.7961 MB / 444.5 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.119, allocations: 4 kB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.1193, allocations: 43.77 kB / 444.5 MB, free: 3.602 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1195, allocations: 59.75 kB / 444.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.1197, allocations: 87.64 kB / 444.7 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1198, allocations: 95.75 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.12, allocations: 8.234 kB / 444.8 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.205e-05/0.12, allocations: 43.78 kB / 444.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.1201, allocations: 31.84 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1201, allocations: 4 kB / 444.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.03e-05/0.1202, allocations: 39.98 kB / 444.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.1203, allocations: 23.91 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.123e-05/0.1203, allocations: 35.69 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1205, allocations: 119.6 kB / 445.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1205, allocations: 0 / 445.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1205, allocations: 0 / 445.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1205, allocations: 0 / 445.1 MB, free: 3.062 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000434/0.121, allocations: 414.9 kB / 445.5 MB, free: 2.609 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.121, allocations: 15.89 kB / 445.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1211, allocations: 8.844 kB / 445.5 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.1213, allocations: 212.7 kB / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1213, allocations: 384 / 445.7 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1213, allocations: 8.125 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1214, allocations: 61.61 kB / 445.8 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1215, allocations: 4 kB / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.1215, allocations: 0 / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-06/0.1215, allocations: 0 / 445.8 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.1216, allocations: 23.98 kB / 445.8 MB, free: 2.238 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.1218, allocations: 284.9 kB / 446.1 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.122, allocations: 58.61 kB / 446.1 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.122, allocations: 24.84 kB / 446.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.122, allocations: 8 kB / 446.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.1222, allocations: 59.39 kB / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.1222, allocations: 0 / 446.2 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004488/0.1226, allocations: 177.1 kB / 446.4 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.1226, allocations: 55.41 kB / 446.4 MB, free: 1.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1228, allocations: 199.3 kB / 446.6 MB, free: 1.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1228, allocations: 33.64 kB / 446.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.1228, allocations: 112 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.1229, allocations: 19.75 kB / 446.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.1229, allocations: 25.7 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.123, allocations: 326.8 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/0.123, allocations: 20 kB / 447.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.1231, allocations: 41.64 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.975e-05/0.1232, allocations: 65.75 kB / 447.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1232, allocations: 0 / 447.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001455/0.1233, allocations: 101.4 kB / 447.4 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1233, allocations: 9.25 kB / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.1234, allocations: 0 / 447.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1234, allocations: 3.984 kB / 447.4 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.1235, allocations: 12 kB / 447.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1235, allocations: 8.031 kB / 447.4 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.1235, allocations: 3.938 kB / 447.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1235, allocations: 7.984 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.697e-05/0.1236, allocations: 133.7 kB / 447.5 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1236, allocations: 15.81 kB / 447.6 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.1237, allocations: 17.39 kB / 447.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1237, allocations: 0 / 447.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1237, allocations: 384 / 447.6 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1237, allocations: 7.938 kB / 447.6 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.1241, allocations: 391.3 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.1241, allocations: 4 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.162e-05/0.1241, allocations: 8 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.1242, allocations: 7.984 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.1242, allocations: 3.938 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1242, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1242, allocations: 0 / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1244, allocations: 204.3 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.444e-05/0.1245, allocations: 88.92 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1245, allocations: 7.938 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1246, allocations: 7.984 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.1246, allocations: 7.938 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.1246, allocations: 4 kB / 448.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1248, allocations: 157.1 kB / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1248, allocations: 0 / 448.4 MB, free: 15.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.125, allocations: 31.92 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0009818/0.126, allocations: 463.3 kB / 448.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.1262, allocations: 59.91 kB / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1262, allocations: 0 / 449 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.1263, allocations: 31.92 kB / 449 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1266, allocations: 27.97 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003991/0.127, allocations: 227.3 kB / 449.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1273, allocations: 0.712 MB / 450 MB, free: 13.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.541e-05/0.1273, allocations: 8.891 kB / 450 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.1274, allocations: 19.42 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1274, allocations: 3.938 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of Templates: time 0.00415/0.1315, allocations: 1.705 MB / 451.7 MB, free: 12.09 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches