Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 96.91 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 177.2 kB / 16.57 MB, free: 6.848 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.407/1.407, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3101/0.3101, allocations: 43.54 MB / 314.5 MB, free: 9.02 MB / 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.000508/0.0005081, allocations: 20 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.85 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001974/0.1238, allocations: 1.384 MB / 444.1 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.125, allocations: 0.7228 MB / 444.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.801e-05/0.1251, allocations: 7.938 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1254, allocations: 31.83 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.1256, allocations: 47.88 kB / 445 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1258, allocations: 75.73 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.126, allocations: 59.84 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.942e-05/0.1261, allocations: 12.22 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.1262, allocations: 35.84 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/0.1262, allocations: 27.86 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1262, allocations: 0 / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.116e-05/0.1263, allocations: 35.91 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.1264, allocations: 19.92 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.1264, allocations: 45.62 kB / 445.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.1266, allocations: 80.09 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.1266, allocations: 0 / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1266, allocations: 3.938 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1266, allocations: 0 / 445.3 MB, free: 10.71 MB / 382.1 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.0004512/0.1271, allocations: 402.8 kB / 445.7 MB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1271, allocations: 16.02 kB / 445.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.1271, allocations: 7.906 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1274, allocations: 202.8 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1274, allocations: 4 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.1274, allocations: 7.984 kB / 446 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.1275, allocations: 57.61 kB / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.1276, allocations: 0 / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1276, allocations: 0 / 446 MB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1276, allocations: 3.953 kB / 446 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/0.1277, allocations: 19.98 kB / 446 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.128, allocations: 284.9 kB / 446.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1282, allocations: 58.62 kB / 446.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.1282, allocations: 0 / 446.4 MB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1284, allocations: 79.36 kB / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1284, allocations: 0 / 446.5 MB, free: 9.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004718/0.1289, allocations: 165.3 kB / 446.6 MB, free: 9.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1289, allocations: 51.41 kB / 446.7 MB, free: 9.191 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.1291, allocations: 190.1 kB / 446.9 MB, free: 8.996 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1291, allocations: 25.7 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.1292, allocations: 104.1 kB / 447 MB, free: 8.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1292, allocations: 19.72 kB / 447 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1292, allocations: 4 kB / 447 MB, free: 8.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.1293, allocations: 322.8 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-05/0.1294, allocations: 27.98 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.673e-05/0.1294, allocations: 37.64 kB / 447.4 MB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.1295, allocations: 20 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1295, allocations: 0 / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001774/0.1297, allocations: 101.6 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1297, allocations: 15.89 kB / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1297, allocations: 0 / 447.5 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.808e-06/0.1297, allocations: 4.031 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.1298, allocations: 23.92 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1298, allocations: 4 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.1299, allocations: 192 / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-06/0.1299, allocations: 4 kB / 447.6 MB, free: 8.266 MB / 382.1 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 8.939e-05/0.13, allocations: 129.8 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.13, allocations: 15.89 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.1301, allocations: 16.67 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1301, allocations: 4 kB / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1301, allocations: 0 / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1301, allocations: 0 / 447.7 MB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1305, allocations: 395.2 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1305, allocations: 0 / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.1305, allocations: 15.98 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1305, allocations: 3.938 kB / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1306, allocations: 0 / 448.1 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1306, allocations: 8.031 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1306, allocations: 0 / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1308, allocations: 210 kB / 448.3 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.1309, allocations: 92.91 kB / 448.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1309, allocations: 0 / 448.4 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.131, allocations: 8 kB / 448.4 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.131, allocations: 15.97 kB / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.131, allocations: 0 / 448.5 MB, free: 7.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.1311, allocations: 148 kB / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1311, allocations: 0 / 448.6 MB, free: 7.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002492/0.1314, allocations: 24 kB / 448.6 MB, free: 7.094 MB / 382.1 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.0009753/0.1324, allocations: 469.7 kB / 449.1 MB, free: 6.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.1326, allocations: 55.97 kB / 449.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1326, allocations: 0 / 449.1 MB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.816e-05/0.1326, allocations: 31.92 kB / 449.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1329, allocations: 28.19 kB / 449.2 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.1336, allocations: 234.5 kB / 449.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005407/0.1342, allocations: 0.7121 MB / 450.1 MB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.439e-05/0.1342, allocations: 12.88 kB / 450.1 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.1343, allocations: 19.44 kB / 450.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1343, allocations: 3.938 kB / 450.2 MB, free: 5.512 MB / 382.1 MB Notification: Performance of Templates: time 0.004755/0.139, allocations: 1.576 MB / 451.7 MB, free: 3.938 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches