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.001147/0.001147, allocations: 113.6 kB / 17.04 MB, free: 5.363 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.001027/0.001027, allocations: 199.4 kB / 17.98 MB, free: 4.895 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.453/1.453, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2254/0.2254, allocations: 43.53 MB / 314.7 MB, free: 496 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.001715/0.001715, allocations: 72 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1149, allocations: 57.78 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003572/0.1185, allocations: 1.902 MB / 443.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.12, allocations: 0.8389 MB / 444.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001851/0.1202, allocations: 4 kB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.1207, allocations: 47.7 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/0.1211, allocations: 59.64 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1215, allocations: 103.7 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1217, allocations: 139.6 kB / 445.1 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.1219, allocations: 33.42 kB / 445.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.122, allocations: 51.72 kB / 445.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.1221, allocations: 51.7 kB / 445.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.1222, allocations: 8 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1223, allocations: 43.98 kB / 445.3 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.1224, allocations: 27.92 kB / 445.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.148e-05/0.1225, allocations: 55.59 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.1228, allocations: 147.5 kB / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1228, allocations: 0 / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.1228, allocations: 0 / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.1228, allocations: 4 kB / 445.5 MB, free: 2.641 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.0008057/0.1236, allocations: 476.5 kB / 445.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1237, allocations: 19.83 kB / 446 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.1238, allocations: 12.75 kB / 446 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003977/0.1242, allocations: 224.1 kB / 446.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1242, allocations: 8.312 kB / 446.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1242, allocations: 12.12 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.1245, allocations: 112.1 kB / 446.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1245, allocations: 0 / 446.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1245, allocations: 8 kB / 446.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1246, allocations: 0 / 446.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1247, allocations: 47.97 kB / 446.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.1253, allocations: 0.5047 MB / 446.9 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1256, allocations: 94.59 kB / 447 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.02e-05/0.1257, allocations: 40.83 kB / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1258, allocations: 4 kB / 447 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.1259, allocations: 75.38 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1259, allocations: 0 / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003746/0.1263, allocations: 141.7 kB / 447.2 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1264, allocations: 59.34 kB / 447.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1265, allocations: 195.4 kB / 447.5 MB, free: 428 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1265, allocations: 29.7 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.1266, allocations: 116 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1266, allocations: 31.62 kB / 447.7 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.1267, allocations: 25.72 kB / 447.7 MB, free: 208 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1268, allocations: 330.8 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.6e-05/0.1269, allocations: 27.98 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.127, allocations: 76.02 kB / 448.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.1272, allocations: 92.22 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1272, allocations: 0 / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002874/0.1275, allocations: 141.3 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.1275, allocations: 5.25 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.1276, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1276, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1277, allocations: 27.86 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1277, allocations: 4 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1278, allocations: 20.02 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.1278, allocations: 4 kB / 448.4 MB, free: 15.45 MB / 334.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 0.0001171/0.1279, allocations: 125.8 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.128, allocations: 15.81 kB / 448.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.128, allocations: 17.39 kB / 448.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.128, allocations: 7.875 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.128, allocations: 7.938 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1281, allocations: 4 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1283, allocations: 213.7 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1283, allocations: 0 / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1285, allocations: 15.92 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1285, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1285, allocations: 4 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.1285, allocations: 3.938 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1285, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1289, allocations: 180.8 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.129, allocations: 93.03 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.129, allocations: 0 / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.1291, allocations: 7.938 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.362e-05/0.1292, allocations: 7.984 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.1292, allocations: 8 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1293, allocations: 137.2 kB / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1293, allocations: 0 / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1296, allocations: 32.03 kB / 449.3 MB, free: 14.48 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.0009804/0.1306, allocations: 427.3 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.1309, allocations: 79.89 kB / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1309, allocations: 0 / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.131, allocations: 39.92 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1313, allocations: 36.2 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005759/0.1319, allocations: 260.1 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.1322, allocations: 0.7123 MB / 450.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.986e-05/0.1323, allocations: 17.42 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.1323, allocations: 19.42 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of SimCode: time 1.81e-07/0.1323, allocations: 0 / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Templates: time 0.005616/0.138, allocations: 1.873 MB / 452.7 MB, free: 11.07 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches