Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009444/0.0009445, allocations: 96.83 kB / 15.69 MB, free: 484 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.001398/0.001399, allocations: 173.7 kB / 16.56 MB, free: 6.852 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.337/1.337, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3447/0.3447, allocations: 43.55 MB / 314.5 MB, free: 8.777 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.0005164/0.0005166, allocations: 20 kB / 383.9 MB, free: 8.016 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1043, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001962/0.1063, allocations: 1.376 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1075, allocations: 0.7499 MB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.1076, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.1079, allocations: 23.91 kB / 444.9 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.1081, allocations: 51.8 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1084, allocations: 67.86 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1086, allocations: 63.84 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1087, allocations: 20.22 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.1088, allocations: 39.83 kB / 445.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.44e-05/0.1089, allocations: 27.86 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.1089, allocations: 3.938 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.1091, allocations: 31.97 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1091, allocations: 27.86 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.988e-05/0.1092, allocations: 41.64 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1094, allocations: 100.1 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.1094, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1094, allocations: 0 / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1094, allocations: 0 / 445.4 MB, free: 10.41 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.0005781/0.11, allocations: 434.6 kB / 445.8 MB, free: 9.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1101, allocations: 12.02 kB / 445.8 MB, free: 9.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1101, allocations: 19.8 kB / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.1104, allocations: 207.7 kB / 446 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1104, allocations: 7.984 kB / 446 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1104, allocations: 7.938 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.1106, allocations: 53.61 kB / 446.1 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1106, allocations: 4 kB / 446.1 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1106, allocations: 8 kB / 446.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1106, allocations: 3.953 kB / 446.1 MB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.1107, allocations: 15.98 kB / 446.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003671/0.1111, allocations: 292.9 kB / 446.4 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.1113, allocations: 58.61 kB / 446.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.1113, allocations: 4 kB / 446.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1115, allocations: 71.47 kB / 446.5 MB, free: 9.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1115, allocations: 4 kB / 446.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005146/0.112, allocations: 181 kB / 446.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1121, allocations: 51.41 kB / 446.8 MB, free: 8.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.1123, allocations: 272.8 kB / 447 MB, free: 8.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1123, allocations: 29.7 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.1124, allocations: 112.1 kB / 447.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1124, allocations: 27.64 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1124, allocations: 4 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1125, allocations: 330.8 kB / 447.5 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.079e-05/0.1126, allocations: 19.94 kB / 447.6 MB, free: 8.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.1127, allocations: 41.64 kB / 447.6 MB, free: 7.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.1127, allocations: 32.05 kB / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1127, allocations: 0 / 447.6 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001677/0.1129, allocations: 101.4 kB / 447.7 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1129, allocations: 11.95 kB / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.113, allocations: 0 / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.113, allocations: 0 / 447.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.1131, allocations: 15.98 kB / 447.8 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1131, allocations: 4 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.1131, allocations: 0 / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.1132, allocations: 8.031 kB / 447.8 MB, free: 7.789 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 0.0001093/0.1133, allocations: 137.8 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1133, allocations: 15.81 kB / 447.9 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.1133, allocations: 29.34 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1134, allocations: 0 / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1134, allocations: 0 / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1134, allocations: 192 / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1138, allocations: 411.3 kB / 448.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1138, allocations: 3.938 kB / 448.3 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.1139, allocations: 15.94 kB / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1139, allocations: 0 / 448.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.1139, allocations: 3.984 kB / 448.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1139, allocations: 4 kB / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1139, allocations: 0 / 448.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.1141, allocations: 217.9 kB / 448.6 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.1142, allocations: 88.92 kB / 448.7 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.1142, allocations: 4 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.1143, allocations: 7.984 kB / 448.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.221e-05/0.1143, allocations: 4 kB / 448.7 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1143, allocations: 7.938 kB / 448.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.1145, allocations: 208.5 kB / 448.9 MB, free: 6.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1145, allocations: 4 kB / 448.9 MB, free: 6.539 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1148, allocations: 27.98 kB / 448.9 MB, free: 6.512 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.0009749/0.1157, allocations: 466.7 kB / 449.4 MB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1159, allocations: 63.89 kB / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1159, allocations: 0 / 449.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.287e-05/0.116, allocations: 31.98 kB / 449.5 MB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.1163, allocations: 27.92 kB / 449.5 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/0.1167, allocations: 319.2 kB / 449.8 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.117, allocations: 0.7277 MB / 450.5 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.806e-05/0.1171, allocations: 8.891 kB / 450.6 MB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1171, allocations: 27.36 kB / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1171, allocations: 0 / 450.6 MB, free: 4.844 MB / 382.1 MB Notification: Performance of Templates: time 0.004044/0.1212, allocations: 1.611 MB / 452.2 MB, free: 3.234 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches