Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 175.2 kB / 16.72 MB, free: 4.957 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.302/1.302, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0006696/0.0006697, allocations: 78.42 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.3039/0.3039, allocations: 43.57 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003422, allocations: 16 kB / 432 MB, free: 5.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1134, allocations: 58.85 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.001845/0.1153, allocations: 1.59 MB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1164, allocations: 0.7889 MB / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.1165, allocations: 0 / 493.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1167, allocations: 27.84 kB / 493.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1168, allocations: 51.77 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1171, allocations: 91.83 kB / 493.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1172, allocations: 119.6 kB / 493.5 MB, free: 7.949 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.1173, allocations: 33.47 kB / 493.5 MB, free: 7.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.149e-05/0.1174, allocations: 43.73 kB / 493.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.1175, allocations: 43.72 kB / 493.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1175, allocations: 4 kB / 493.6 MB, free: 7.824 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.636e-05/0.1176, allocations: 35.97 kB / 493.6 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.662e-05/0.1176, allocations: 23.92 kB / 493.7 MB, free: 7.766 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.1177, allocations: 69.38 kB / 493.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1178, allocations: 112 kB / 493.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1178, allocations: 0 / 493.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1178, allocations: 0 / 493.8 MB, free: 7.582 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.1179, allocations: 0 / 493.8 MB, free: 7.582 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.0004512/0.1183, allocations: 456.6 kB / 494.3 MB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.674e-05/0.1183, allocations: 12.03 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1184, allocations: 20.73 kB / 494.3 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1186, allocations: 220 kB / 494.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1186, allocations: 12.31 kB / 494.5 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1186, allocations: 8.125 kB / 494.6 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.1188, allocations: 111.9 kB / 494.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.1189, allocations: 0 / 494.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1189, allocations: 4 kB / 494.7 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1189, allocations: 4 kB / 494.7 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.119, allocations: 55.89 kB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.1196, allocations: 0.5126 MB / 495.2 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002568/0.1198, allocations: 94.59 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.015e-05/0.1199, allocations: 40.84 kB / 495.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.12, allocations: 0 / 495.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1202, allocations: 87.31 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.1202, allocations: 0 / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003271/0.1205, allocations: 149.4 kB / 495.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1206, allocations: 59.34 kB / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1207, allocations: 187.5 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1207, allocations: 25.7 kB / 495.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.1208, allocations: 119.9 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1208, allocations: 23.66 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.1208, allocations: 4 kB / 496 MB, free: 5.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1209, allocations: 322.8 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.288e-05/0.121, allocations: 35.97 kB / 496.4 MB, free: 4.824 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.1211, allocations: 64.28 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.1213, allocations: 108.5 kB / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1213, allocations: 0 / 496.5 MB, free: 4.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002483/0.1216, allocations: 145.4 kB / 496.7 MB, free: 4.477 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1216, allocations: 4 kB / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1216, allocations: 0 / 496.7 MB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1216, allocations: 4 kB / 496.7 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.1217, allocations: 31.92 kB / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1217, allocations: 0 / 496.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.1218, allocations: 15.84 kB / 496.7 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.1218, allocations: 7.938 kB / 496.7 MB, free: 4.414 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 8.593e-05/0.1219, allocations: 129.9 kB / 496.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.122, allocations: 11.91 kB / 496.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.122, allocations: 21.39 kB / 496.9 MB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.122, allocations: 7.922 kB / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.122, allocations: 0 / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.122, allocations: 0 / 496.9 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.1222, allocations: 213.5 kB / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1222, allocations: 0 / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.1223, allocations: 12 kB / 497.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1223, allocations: 0 / 497.1 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1223, allocations: 11.98 kB / 497.1 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1223, allocations: 7.875 kB / 497.1 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1223, allocations: 3.938 kB / 497.1 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003227/0.1226, allocations: 176.9 kB / 497.3 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1227, allocations: 96.94 kB / 497.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1227, allocations: 8.188 kB / 497.4 MB, free: 3.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.1228, allocations: 11.94 kB / 497.4 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.1228, allocations: 11.92 kB / 497.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1228, allocations: 4 kB / 497.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.123, allocations: 141.2 kB / 497.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.123, allocations: 0 / 497.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.1232, allocations: 24 kB / 497.6 MB, free: 3.445 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.0007358/0.1239, allocations: 414.8 kB / 498 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.1241, allocations: 87.77 kB / 498.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1242, allocations: 0 / 498.1 MB, free: 2.992 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.815e-05/0.1243, allocations: 35.98 kB / 498.1 MB, free: 2.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.1245, allocations: 39.83 kB / 498.2 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.1249, allocations: 339.1 kB / 498.5 MB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.1252, allocations: 0.7084 MB / 499.2 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1252, allocations: 15.44 kB / 499.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1252, allocations: 0 / 499.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of Templates: time 0.1654/0.2907, allocations: 2.124 MB / 0.4896 GB, free: 42.51 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches