Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,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.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,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.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 109.3 kB / 17.03 MB, free: 6.102 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.001654/0.001654, allocations: 194.9 kB / 17.96 MB, free: 5.195 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.56/1.56, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.209/0.209, allocations: 43.52 MB / 314.7 MB, free: 484 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.001612/0.001612, allocations: 73.09 kB / 384.2 MB, free: 56.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1135, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.00295/0.1165, allocations: 1.697 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1176, allocations: 0.7883 MB / 444.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.932e-05/0.1178, allocations: 4 kB / 444.5 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1182, allocations: 47.77 kB / 444.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1184, allocations: 63.73 kB / 444.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.1187, allocations: 83.72 kB / 444.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1189, allocations: 99.67 kB / 444.7 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.119, allocations: 16.22 kB / 444.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.799e-05/0.1191, allocations: 39.78 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.1191, allocations: 31.84 kB / 444.8 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.1192, allocations: 4 kB / 444.8 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.1193, allocations: 43.92 kB / 444.9 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.1193, allocations: 23.92 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.1194, allocations: 35.75 kB / 444.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.1196, allocations: 123.5 kB / 445.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1196, allocations: 0 / 445.1 MB, free: 3.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1196, allocations: 4 kB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1196, allocations: 0 / 445.1 MB, free: 3.031 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.0004408/0.12, allocations: 426.8 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.1201, allocations: 11.89 kB / 445.5 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.898e-05/0.1201, allocations: 16.83 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1203, allocations: 215.9 kB / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1204, allocations: 384 / 445.7 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1204, allocations: 12.11 kB / 445.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1206, allocations: 65.61 kB / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1206, allocations: 0 / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.1206, allocations: 0 / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1206, allocations: 0 / 445.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.505e-05/0.1207, allocations: 19.98 kB / 445.8 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000279/0.121, allocations: 288.9 kB / 446.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1211, allocations: 62.61 kB / 446.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.1212, allocations: 16.86 kB / 446.2 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.1212, allocations: 4 kB / 446.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.1213, allocations: 67.38 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1213, allocations: 0 / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005189/0.1218, allocations: 177.1 kB / 446.4 MB, free: 1.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1219, allocations: 55.41 kB / 446.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.1221, allocations: 230.6 kB / 446.7 MB, free: 1.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.1221, allocations: 25.7 kB / 446.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.1221, allocations: 108.1 kB / 446.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.718e-05/0.1222, allocations: 23.64 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.1222, allocations: 25.72 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.1223, allocations: 326.8 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.249e-05/0.1223, allocations: 23.98 kB / 447.2 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.1224, allocations: 41.64 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.373e-05/0.1225, allocations: 57.72 kB / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1225, allocations: 0 / 447.3 MB, free: 0.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001477/0.1227, allocations: 105.6 kB / 447.4 MB, free: 444 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1227, allocations: 8 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1227, allocations: 3.938 kB / 447.4 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1227, allocations: 4.031 kB / 447.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.1228, allocations: 15.98 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1228, allocations: 4.156 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.1229, allocations: 7.938 kB / 447.5 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1229, allocations: 4 kB / 447.5 MB, free: 396 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 8.358e-05/0.123, allocations: 133.7 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.123, allocations: 11.84 kB / 447.6 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.123, allocations: 25.39 kB / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.123, allocations: 0 / 447.6 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1231, allocations: 8.359 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1231, allocations: 7.938 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1235, allocations: 395.2 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1235, allocations: 4 kB / 448 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.153e-05/0.1235, allocations: 8 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1235, allocations: 3.984 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1236, allocations: 11.92 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1236, allocations: 0 / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1236, allocations: 4.031 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1238, allocations: 200.2 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.1239, allocations: 88.92 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.1239, allocations: 3.938 kB / 448.4 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.124, allocations: 7.984 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.124, allocations: 8 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.124, allocations: 8 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000127/0.1242, allocations: 167.2 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1242, allocations: 0 / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002501/0.1244, allocations: 20 kB / 448.6 MB, free: 15.18 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.001036/0.1255, allocations: 473.1 kB / 449 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1256, allocations: 63.91 kB / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1257, allocations: 0 / 449.1 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.989e-05/0.1257, allocations: 23.98 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.1261, allocations: 23.98 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1265, allocations: 259.2 kB / 449.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1268, allocations: 0.708 MB / 450.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.822e-05/0.1268, allocations: 17.17 kB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.1269, allocations: 19.44 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1269, allocations: 0 / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of Templates: time 0.004468/0.1314, allocations: 1.713 MB / 451.8 MB, free: 11.95 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches