Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.344/1.344, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007669/0.0007669, allocations: 86.36 kB / 271.2 MB, free: 8.254 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.3204/0.3204, allocations: 43.57 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003528, allocations: 15.94 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.001998/0.1151, allocations: 1.394 MB / 492.2 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1163, allocations: 0.75 MB / 493 MB, free: 8.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1164, allocations: 4 kB / 493 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1167, allocations: 75.78 kB / 493 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1168, allocations: 55.8 kB / 493.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.1171, allocations: 79.83 kB / 493.2 MB, free: 8.277 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.1172, allocations: 91.69 kB / 493.3 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.643e-05/0.1173, allocations: 12.22 kB / 493.3 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.38e-05/0.1174, allocations: 47.83 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.1175, allocations: 51.75 kB / 493.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1176, allocations: 4 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.921e-05/0.1177, allocations: 32 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.971e-05/0.1177, allocations: 23.91 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.1178, allocations: 61.44 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.118, allocations: 84.09 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.118, allocations: 4 kB / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.118, allocations: 0 / 493.6 MB, free: 7.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.118, allocations: 0 / 493.6 MB, free: 7.867 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005215/0.1185, allocations: 399 kB / 494 MB, free: 7.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1186, allocations: 12.03 kB / 494 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.1186, allocations: 12.75 kB / 494 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1189, allocations: 216.1 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1189, allocations: 384 / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1189, allocations: 8.125 kB / 494.2 MB, free: 7.148 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1191, allocations: 57.67 kB / 494.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1191, allocations: 7.922 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1191, allocations: 0 / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1191, allocations: 0 / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.1192, allocations: 23.92 kB / 494.3 MB, free: 7.055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.1196, allocations: 292.9 kB / 494.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.1198, allocations: 54.69 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.1198, allocations: 20.84 kB / 494.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.1198, allocations: 11.88 kB / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.12, allocations: 63.39 kB / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.12, allocations: 0 / 494.7 MB, free: 6.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000512/0.1206, allocations: 189 kB / 494.9 MB, free: 6.355 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1206, allocations: 55.41 kB / 495 MB, free: 6.289 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001717/0.1208, allocations: 206.4 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1208, allocations: 25.7 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.1209, allocations: 104.1 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.1209, allocations: 27.64 kB / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.1209, allocations: 0 / 495.3 MB, free: 5.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.854e-05/0.121, allocations: 330.8 kB / 495.7 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.184e-05/0.1211, allocations: 23.98 kB / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.532e-05/0.1211, allocations: 29.72 kB / 495.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1212, allocations: 65.64 kB / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1212, allocations: 0 / 495.8 MB, free: 5.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000163/0.1214, allocations: 101.4 kB / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1214, allocations: 7.438 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1214, allocations: 4.031 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.1215, allocations: 4 kB / 495.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.1215, allocations: 16 kB / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1216, allocations: 0 / 495.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.1216, allocations: 11.92 kB / 495.9 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1216, allocations: 4 kB / 495.9 MB, free: 5.305 MB / 378.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.1217, allocations: 133.6 kB / 496 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.1218, allocations: 11.89 kB / 496.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.1218, allocations: 13.41 kB / 496.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1218, allocations: 8 kB / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1218, allocations: 0 / 496.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.1218, allocations: 3.938 kB / 496.1 MB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.1222, allocations: 407.3 kB / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1223, allocations: 0 / 496.5 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.1223, allocations: 11.94 kB / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1223, allocations: 0 / 496.5 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1223, allocations: 7.938 kB / 496.5 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1223, allocations: 4.031 kB / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1223, allocations: 0 / 496.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.1225, allocations: 200.5 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.1226, allocations: 93.28 kB / 496.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1226, allocations: 11.88 kB / 496.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.1227, allocations: 8 kB / 496.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.1228, allocations: 11.98 kB / 496.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1228, allocations: 7.938 kB / 496.8 MB, free: 4.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.1229, allocations: 160.2 kB / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1229, allocations: 0 / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.1232, allocations: 27.98 kB / 497 MB, free: 4.105 MB / 378.7 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 (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.0009105/0.1241, allocations: 452.4 kB / 497.5 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1243, allocations: 55.91 kB / 497.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1243, allocations: 0 / 497.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.1243, allocations: 24 kB / 497.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.1247, allocations: 35.5 kB / 497.6 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.1252, allocations: 283.9 kB / 497.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.1254, allocations: 0.716 MB / 498.6 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.1255, allocations: 15.44 kB / 498.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1255, allocations: 0 / 498.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of Templates: time 0.003461/0.129, allocations: 1.915 MB / 0.4888 GB, free: 0.6094 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches