Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008183/0.0008183, allocations: 174.5 kB / 16.72 MB, free: 5.051 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.284/1.284, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007185/0.0007186, allocations: 84.94 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.2874/0.2874, allocations: 43.57 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004032/0.0004034, allocations: 16 kB / 432 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002347/0.1192, allocations: 1.398 MB / 492.2 MB, free: 9.469 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.1206, allocations: 0.7422 MB / 493 MB, free: 8.719 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.1207, allocations: 3.938 kB / 493 MB, free: 8.715 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1211, allocations: 75.83 kB / 493.1 MB, free: 8.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.1214, allocations: 63.78 kB / 493.1 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1217, allocations: 71.86 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.1219, allocations: 99.67 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.122, allocations: 12.22 kB / 493.3 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1221, allocations: 47.77 kB / 493.3 MB, free: 8.352 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.1223, allocations: 43.83 kB / 493.4 MB, free: 8.309 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1223, allocations: 4 kB / 493.4 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.1224, allocations: 35.98 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.1225, allocations: 23.91 kB / 493.4 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.536e-05/0.1226, allocations: 65.38 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.1227, allocations: 88.09 kB / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1228, allocations: 0 / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1228, allocations: 0 / 493.6 MB, free: 8.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1228, allocations: 0 / 493.6 MB, free: 8.09 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.0005639/0.1234, allocations: 403.1 kB / 494 MB, free: 7.648 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.1234, allocations: 8.031 kB / 494 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.1235, allocations: 12.75 kB / 494 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1237, allocations: 212.1 kB / 494.2 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1237, allocations: 8.375 kB / 494.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1238, allocations: 8.062 kB / 494.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1239, allocations: 53.67 kB / 494.3 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.124, allocations: 3.938 kB / 494.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.124, allocations: 0 / 494.3 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.124, allocations: 4 kB / 494.3 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.1241, allocations: 15.98 kB / 494.3 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003946/0.1245, allocations: 288.9 kB / 494.6 MB, free: 6.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1246, allocations: 66.61 kB / 494.7 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.1247, allocations: 16.86 kB / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.1247, allocations: 0 / 494.7 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001889/0.1249, allocations: 67.38 kB / 494.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1249, allocations: 8 kB / 494.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000543/0.1255, allocations: 177.1 kB / 494.9 MB, free: 6.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.1255, allocations: 51.41 kB / 495 MB, free: 6.531 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1257, allocations: 210.3 kB / 495.2 MB, free: 6.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.1258, allocations: 29.64 kB / 495.2 MB, free: 6.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.1258, allocations: 108.1 kB / 495.3 MB, free: 6.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.1259, allocations: 23.66 kB / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.1259, allocations: 0 / 495.3 MB, free: 6.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.126, allocations: 334.8 kB / 495.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.276e-05/0.1261, allocations: 19.92 kB / 495.7 MB, free: 5.793 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.1262, allocations: 37.7 kB / 495.7 MB, free: 5.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.1263, allocations: 61.69 kB / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1263, allocations: 0 / 495.8 MB, free: 5.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000173/0.1265, allocations: 97.47 kB / 495.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1265, allocations: 14.5 kB / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.1265, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1265, allocations: 0 / 495.9 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.1266, allocations: 16.36 kB / 495.9 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1266, allocations: 4 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.1267, allocations: 11.94 kB / 495.9 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1267, allocations: 4 kB / 495.9 MB, free: 5.535 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.0001101/0.1268, allocations: 137.4 kB / 496.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.1269, allocations: 15.89 kB / 496.1 MB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.1269, allocations: 21.39 kB / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1269, allocations: 0 / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1269, allocations: 0 / 496.1 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.127, allocations: 3.938 kB / 496.1 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.1274, allocations: 399.3 kB / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1274, allocations: 0 / 496.5 MB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1274, allocations: 11.98 kB / 496.5 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1274, allocations: 4.031 kB / 496.5 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1274, allocations: 7.938 kB / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1275, allocations: 0 / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1275, allocations: 80 / 496.5 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.1277, allocations: 204.2 kB / 496.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.1278, allocations: 92.91 kB / 496.8 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1278, allocations: 11.94 kB / 496.8 MB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.1279, allocations: 4 kB / 496.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1279, allocations: 7.984 kB / 496.8 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1279, allocations: 4 kB / 496.8 MB, free: 4.523 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.128, allocations: 156.4 kB / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.128, allocations: 0 / 497 MB, free: 4.371 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00024/0.1283, allocations: 27.94 kB / 497 MB, free: 4.344 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.0009452/0.1292, allocations: 466 kB / 497.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.1294, allocations: 51.92 kB / 497.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1294, allocations: 0 / 497.5 MB, free: 3.875 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.075e-05/0.1295, allocations: 39.91 kB / 497.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1298, allocations: 24.11 kB / 497.6 MB, free: 3.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005068/0.1303, allocations: 275.9 kB / 497.8 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1307, allocations: 0.716 MB / 498.6 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.1307, allocations: 15.44 kB / 498.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1307, allocations: 0 / 498.6 MB, free: 2.754 MB / 378.7 MB Notification: Performance of Templates: time 0.003665/0.1344, allocations: 1.919 MB / 0.4888 GB, free: 0.8398 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches