Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008831/0.0008831, 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.227/1.227, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006838/0.0006838, allocations: 82.36 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.318/0.318, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 20 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1156, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001877/0.1176, allocations: 1.394 MB / 492.2 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1187, allocations: 0.7422 MB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.672e-05/0.1188, allocations: 3.938 kB / 493 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000326/0.1191, allocations: 103.8 kB / 493.1 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1193, allocations: 71.78 kB / 493.1 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1195, allocations: 71.84 kB / 493.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1197, allocations: 91.69 kB / 493.3 MB, free: 8.402 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1198, allocations: 16.2 kB / 493.3 MB, free: 8.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.1199, allocations: 51.77 kB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.4e-05/0.12, allocations: 51.81 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.12, allocations: 4 kB / 493.4 MB, free: 8.281 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.082e-05/0.1201, allocations: 39.92 kB / 493.5 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.78e-05/0.1202, allocations: 19.92 kB / 493.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.34e-05/0.1203, allocations: 57.45 kB / 493.5 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1204, allocations: 96.08 kB / 493.6 MB, free: 8.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1204, allocations: 4 kB / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1204, allocations: 0 / 493.6 MB, free: 8.062 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.1205, allocations: 0 / 493.6 MB, free: 8.062 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.0005607/0.121, allocations: 414.9 kB / 494 MB, free: 7.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1211, allocations: 8.031 kB / 494.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.1211, allocations: 12.84 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1213, allocations: 220.7 kB / 494.3 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1214, allocations: 4.375 kB / 494.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.1214, allocations: 12.06 kB / 494.3 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1216, allocations: 61.67 kB / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1216, allocations: 0 / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1216, allocations: 0 / 494.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1216, allocations: 4 kB / 494.4 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.033e-05/0.1217, allocations: 19.92 kB / 494.4 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003632/0.122, allocations: 292.8 kB / 494.7 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.1222, allocations: 58.69 kB / 494.7 MB, free: 6.828 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.572e-05/0.1223, allocations: 20.84 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.1224, allocations: 0 / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1225, allocations: 71.33 kB / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1225, allocations: 0 / 494.8 MB, free: 6.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.1231, allocations: 185.1 kB / 495 MB, free: 6.535 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.1231, allocations: 55.41 kB / 495 MB, free: 6.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1233, allocations: 242.1 kB / 495.3 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1234, allocations: 25.7 kB / 495.3 MB, free: 6.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.088e-05/0.1234, allocations: 108.1 kB / 495.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1235, allocations: 27.64 kB / 495.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.1235, allocations: 4 kB / 495.4 MB, free: 6.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1236, allocations: 326.8 kB / 495.8 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.812e-05/0.1237, allocations: 27.98 kB / 495.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.1238, allocations: 33.7 kB / 495.8 MB, free: 5.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001039/0.1239, allocations: 53.66 kB / 495.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1239, allocations: 4 kB / 495.9 MB, free: 5.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.1241, allocations: 109.4 kB / 496 MB, free: 5.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1241, allocations: 4 kB / 496 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1241, allocations: 4 kB / 496 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1241, allocations: 4.031 kB / 496 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.618e-05/0.1242, allocations: 15.98 kB / 496 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1242, allocations: 0 / 496 MB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.792e-05/0.1243, allocations: 7.938 kB / 496 MB, free: 5.445 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1243, allocations: 8 kB / 496 MB, free: 5.438 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.0001038/0.1244, allocations: 129.6 kB / 496.2 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.968e-05/0.1244, allocations: 11.91 kB / 496.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.817e-05/0.1245, allocations: 25.38 kB / 496.2 MB, free: 5.266 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1245, allocations: 8 kB / 496.2 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1245, allocations: 3.938 kB / 496.2 MB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1245, allocations: 3.938 kB / 496.2 MB, free: 5.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.1249, allocations: 395.2 kB / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.125, allocations: 0 / 496.6 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.125, allocations: 16.3 kB / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.125, allocations: 0 / 496.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.125, allocations: 3.938 kB / 496.6 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.125, allocations: 12.27 kB / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.125, allocations: 0 / 496.6 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.1253, allocations: 204.3 kB / 496.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.993e-05/0.1253, allocations: 92.91 kB / 496.9 MB, free: 4.445 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.1254, allocations: 7.938 kB / 496.9 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-05/0.1254, allocations: 4 kB / 496.9 MB, free: 4.434 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.1255, allocations: 11.98 kB / 496.9 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.1255, allocations: 4.188 kB / 496.9 MB, free: 4.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1257, allocations: 188.2 kB / 497.1 MB, free: 4.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1257, allocations: 3.938 kB / 497.1 MB, free: 4.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002359/0.1259, allocations: 24 kB / 497.2 MB, free: 4.207 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.001009/0.1269, allocations: 468.6 kB / 497.6 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1271, allocations: 55.92 kB / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1271, allocations: 0 / 497.7 MB, free: 3.734 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.76e-05/0.1272, allocations: 31.98 kB / 497.7 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1275, allocations: 19.98 kB / 497.7 MB, free: 3.684 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005076/0.128, allocations: 324.2 kB / 498 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.1284, allocations: 0.716 MB / 498.8 MB, free: 2.586 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1284, allocations: 15.44 kB / 498.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1284, allocations: 0 / 498.8 MB, free: 2.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003557/0.132, allocations: 1.988 MB / 0.489 GB, free: 0.5859 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches