Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 173.2 kB / 16.72 MB, free: 5.078 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.335/1.335, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007081/0.0007081, allocations: 94.3 kB / 271.2 MB, free: 8.242 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.3062/0.3062, allocations: 43.57 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003746, allocations: 16 kB / 432 MB, free: 5.582 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002047/0.1173, allocations: 1.594 MB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.1185, allocations: 0.7771 MB / 493.2 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.1186, allocations: 4 kB / 493.2 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1188, allocations: 35.83 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.119, allocations: 47.77 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1193, allocations: 87.83 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.1194, allocations: 115.6 kB / 493.5 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.1195, allocations: 37.41 kB / 493.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.1196, allocations: 39.8 kB / 493.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.1197, allocations: 51.7 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1197, allocations: 0 / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.611e-05/0.1198, allocations: 35.98 kB / 493.7 MB, free: 7.801 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.1199, allocations: 15.92 kB / 493.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.778e-05/0.12, allocations: 73.36 kB / 493.7 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1201, allocations: 112 kB / 493.8 MB, free: 7.598 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1201, allocations: 8 kB / 493.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1201, allocations: 0 / 493.9 MB, free: 7.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1201, allocations: 0 / 493.9 MB, free: 7.59 MB / 378.7 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.0005507/0.1207, allocations: 448.6 kB / 494.3 MB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1207, allocations: 16.02 kB / 494.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1208, allocations: 12.75 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.121, allocations: 224 kB / 494.5 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.121, allocations: 12.38 kB / 494.6 MB, free: 6.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.1211, allocations: 8.125 kB / 494.6 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.1213, allocations: 108.2 kB / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1213, allocations: 0 / 494.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1213, allocations: 4 kB / 494.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1213, allocations: 3.938 kB / 494.7 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.1215, allocations: 63.89 kB / 494.7 MB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.122, allocations: 0.5048 MB / 495.2 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.1223, allocations: 90.66 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.463e-05/0.1224, allocations: 36.84 kB / 495.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1225, allocations: 7.984 kB / 495.4 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.1227, allocations: 91.25 kB / 495.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1227, allocations: 0 / 495.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003627/0.1231, allocations: 145.4 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1231, allocations: 55.34 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1233, allocations: 195.5 kB / 495.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1233, allocations: 29.69 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.1234, allocations: 115.9 kB / 496 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.1234, allocations: 27.64 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.1234, allocations: 4 kB / 496 MB, free: 5.191 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1235, allocations: 322.8 kB / 496.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1236, allocations: 35.97 kB / 496.4 MB, free: 4.832 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1238, allocations: 64.22 kB / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.1239, allocations: 104.6 kB / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.124, allocations: 0 / 496.5 MB, free: 4.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002615/0.1242, allocations: 141.3 kB / 496.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1242, allocations: 4 kB / 496.7 MB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1243, allocations: 4.125 kB / 496.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1243, allocations: 4 kB / 496.7 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.893e-05/0.1244, allocations: 31.92 kB / 496.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1244, allocations: 3.938 kB / 496.7 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.1245, allocations: 15.84 kB / 496.7 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.1245, allocations: 7.984 kB / 496.7 MB, free: 4.422 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.715e-05/0.1246, allocations: 121.8 kB / 496.9 MB, free: 4.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.1246, allocations: 11.91 kB / 496.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.2e-05/0.1247, allocations: 25.39 kB / 496.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1247, allocations: 3.938 kB / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1247, allocations: 0 / 496.9 MB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1247, allocations: 4 kB / 496.9 MB, free: 4.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.1248, allocations: 209.5 kB / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1249, allocations: 0 / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/0.1249, allocations: 15.94 kB / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1249, allocations: 4 kB / 497.1 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.125, allocations: 3.984 kB / 497.1 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.125, allocations: 3.938 kB / 497.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.125, allocations: 7.984 kB / 497.1 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.1253, allocations: 176.9 kB / 497.3 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1254, allocations: 100.8 kB / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.1254, allocations: 8 kB / 497.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.514e-05/0.1255, allocations: 12 kB / 497.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.1255, allocations: 7.984 kB / 497.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1256, allocations: 4 kB / 497.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001074/0.1257, allocations: 141.2 kB / 497.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1257, allocations: 192 / 497.6 MB, free: 3.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.1259, allocations: 24 kB / 497.6 MB, free: 3.461 MB / 378.7 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 (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.0007671/0.1267, allocations: 413.7 kB / 498 MB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1269, allocations: 91.83 kB / 498.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1269, allocations: 0 / 498.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.127, allocations: 40.11 kB / 498.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.1273, allocations: 35.58 kB / 498.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004977/0.1278, allocations: 335.4 kB / 498.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.128, allocations: 0.7123 MB / 499.2 MB, free: 1.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.1281, allocations: 19.44 kB / 499.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1281, allocations: 0 / 499.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of Templates: time 0.167/0.2951, allocations: 2.117 MB / 0.4896 GB, free: 42.61 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches