Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008863/0.0008862, 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.0009034/0.0009035, 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.383/1.383, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.3262/0.3262, allocations: 43.54 MB / 314.5 MB, free: 9.039 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.0004702/0.0004702, allocations: 16 kB / 383.9 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 58.86 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.001958/0.1229, allocations: 1.45 MB / 444.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.1247, allocations: 1.368 MB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.236e-05/0.1248, allocations: 4 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.125, allocations: 47.75 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001973/0.1252, allocations: 79.77 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003299/0.1256, allocations: 123.7 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1258, allocations: 111.7 kB / 445.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.1258, allocations: 13.55 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1259, allocations: 75.62 kB / 446 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.1261, allocations: 51.77 kB / 446.1 MB, free: 9.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1261, allocations: 4 kB / 446.1 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.1262, allocations: 43.92 kB / 446.1 MB, free: 9.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.1263, allocations: 27.89 kB / 446.2 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.1263, allocations: 45.58 kB / 446.2 MB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.1265, allocations: 128 kB / 446.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1266, allocations: 0 / 446.3 MB, free: 9.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1266, allocations: 3.938 kB / 446.3 MB, free: 9.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.1266, allocations: 0 / 446.3 MB, free: 9.691 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005539/0.1271, allocations: 446.6 kB / 446.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1272, allocations: 8.031 kB / 446.8 MB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.1272, allocations: 19.81 kB / 446.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1275, allocations: 234.7 kB / 447 MB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1275, allocations: 4 kB / 447 MB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1276, allocations: 4 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1278, allocations: 97.08 kB / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1278, allocations: 3.938 kB / 447.1 MB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.1278, allocations: 8 kB / 447.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1278, allocations: 3.953 kB / 447.1 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.958e-05/0.1279, allocations: 31.91 kB / 447.2 MB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.1282, allocations: 214.5 kB / 447.4 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1284, allocations: 109.3 kB / 447.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1285, allocations: 0 / 447.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1287, allocations: 113 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.324e-06/0.1287, allocations: 3.984 kB / 447.6 MB, free: 8.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004019/0.1291, allocations: 165.4 kB / 447.8 MB, free: 8.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.724e-05/0.1292, allocations: 140.4 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1294, allocations: 207.8 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1294, allocations: 29.7 kB / 448.1 MB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.1295, allocations: 112.1 kB / 448.2 MB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.1296, allocations: 27.64 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.593e-06/0.1296, allocations: 4 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1297, allocations: 326.8 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.1298, allocations: 39.92 kB / 448.6 MB, free: 7.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.521e-05/0.1299, allocations: 69.12 kB / 448.7 MB, free: 7.039 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.858e-05/0.13, allocations: 28 kB / 448.7 MB, free: 7.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.13, allocations: 4 kB / 448.7 MB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002345/0.1302, allocations: 137.4 kB / 448.9 MB, free: 6.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1302, allocations: 8 kB / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1303, allocations: 0 / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1303, allocations: 0 / 448.9 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1304, allocations: 24.61 kB / 448.9 MB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.1304, allocations: 3.953 kB / 448.9 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.1305, allocations: 15.91 kB / 448.9 MB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.926e-06/0.1305, allocations: 4 kB / 448.9 MB, free: 6.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 0.0001111/0.1306, allocations: 137.8 kB / 449.1 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1307, allocations: 15.81 kB / 449.1 MB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.193e-05/0.1307, allocations: 20.98 kB / 449.1 MB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1307, allocations: 4 kB / 449.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1307, allocations: 0 / 449.1 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1307, allocations: 7.953 kB / 449.1 MB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.1309, allocations: 217.5 kB / 449.3 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1309, allocations: 3.938 kB / 449.3 MB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.131, allocations: 4 kB / 449.3 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.131, allocations: 8 kB / 449.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.131, allocations: 7.984 kB / 449.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.131, allocations: 0 / 449.3 MB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.131, allocations: 4 kB / 449.3 MB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1313, allocations: 175.4 kB / 449.5 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.1314, allocations: 96.91 kB / 449.6 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.1314, allocations: 12 kB / 449.6 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.1315, allocations: 7.984 kB / 449.6 MB, free: 6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1315, allocations: 15.88 kB / 449.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.1316, allocations: 4 kB / 449.6 MB, free: 5.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1317, allocations: 161.5 kB / 449.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1317, allocations: 0 / 449.8 MB, free: 5.824 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1319, allocations: 35.98 kB / 449.8 MB, free: 5.789 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009299/0.1329, allocations: 457.5 kB / 450.3 MB, free: 5.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.1331, allocations: 79.89 kB / 450.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.1331, allocations: 4 kB / 450.4 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/0.1332, allocations: 39.92 kB / 450.4 MB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1335, allocations: 52.06 kB / 450.5 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004653/0.134, allocations: 279 kB / 450.7 MB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1342, allocations: 0.7166 MB / 451.4 MB, free: 4.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.312e-05/0.1343, allocations: 38.03 kB / 451.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.701e-05/0.1344, allocations: 19.44 kB / 451.5 MB, free: 4.105 MB / 382.1 MB Notification: Performance of SimCode: time 2.444e-06/0.1344, allocations: 0 / 451.5 MB, free: 4.105 MB / 382.1 MB Notification: Performance of Templates: time 0.005174/0.1396, allocations: 2.456 MB / 454 MB, free: 1.66 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches