Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009127, allocations: 96.05 kB / 15.69 MB, free: 488 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.000871/0.000871, allocations: 176.5 kB / 16.57 MB, free: 6.379 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.338/1.338, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.338/0.338, allocations: 43.54 MB / 314.5 MB, free: 9.031 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.0005131/0.0005131, allocations: 20 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1128, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001869/0.1147, allocations: 1.391 MB / 444.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1164, allocations: 1.297 MB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.1165, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002555/0.1168, allocations: 35.89 kB / 445.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.117, allocations: 47.81 kB / 445.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.1173, allocations: 75.78 kB / 445.6 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.1174, allocations: 63.84 kB / 445.7 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.547e-05/0.1175, allocations: 12.22 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.1176, allocations: 35.84 kB / 445.7 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1177, allocations: 27.86 kB / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1177, allocations: 0 / 445.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.83e-05/0.1178, allocations: 47.91 kB / 445.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.281e-05/0.1179, allocations: 15.92 kB / 445.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.655e-05/0.1179, allocations: 33.7 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1181, allocations: 96.02 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1181, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1181, allocations: 0 / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1181, allocations: 0 / 445.9 MB, free: 10.11 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.0004446/0.1185, allocations: 402.9 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1186, allocations: 8.031 kB / 446.3 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.1186, allocations: 11.91 kB / 446.3 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.1188, allocations: 194.9 kB / 446.5 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1189, allocations: 4 kB / 446.5 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1189, allocations: 4 kB / 446.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1191, allocations: 75.31 kB / 446.6 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1191, allocations: 7.938 kB / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1191, allocations: 0 / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1191, allocations: 0 / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.843e-05/0.1192, allocations: 23.98 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000324/0.1195, allocations: 280.9 kB / 446.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.1197, allocations: 54.62 kB / 447 MB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1197, allocations: 7.953 kB / 447 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1199, allocations: 71.52 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1199, allocations: 0 / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004839/0.1204, allocations: 173.1 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1205, allocations: 77.11 kB / 447.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1206, allocations: 154.1 kB / 447.4 MB, free: 8.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.1206, allocations: 29.7 kB / 447.5 MB, free: 8.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.1207, allocations: 92.14 kB / 447.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.1207, allocations: 31.64 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1207, allocations: 0 / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1209, allocations: 322.8 kB / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.251e-05/0.1209, allocations: 19.98 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.121, allocations: 46.5 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.721e-05/0.1211, allocations: 23.95 kB / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1211, allocations: 0 / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001674/0.1212, allocations: 105.5 kB / 448.1 MB, free: 7.695 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1213, allocations: 4 kB / 448.1 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.1213, allocations: 4 kB / 448.1 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.1213, allocations: 3.984 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.1214, allocations: 12 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1214, allocations: 3.938 kB / 448.1 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.685e-05/0.1215, allocations: 4 kB / 448.1 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1215, allocations: 4 kB / 448.1 MB, free: 7.66 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.0001024/0.1216, allocations: 134 kB / 448.3 MB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.1216, allocations: 11.91 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.1216, allocations: 12.81 kB / 448.3 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.1217, allocations: 4 kB / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1217, allocations: 0 / 448.3 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.1217, allocations: 3.984 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1221, allocations: 395.3 kB / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1221, allocations: 4.031 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.148e-05/0.1221, allocations: 11.94 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1222, allocations: 0 / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1222, allocations: 3.984 kB / 448.7 MB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1222, allocations: 4 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1222, allocations: 0 / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.1224, allocations: 217.9 kB / 448.9 MB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.819e-05/0.1225, allocations: 81.02 kB / 449 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.1225, allocations: 11.98 kB / 449 MB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.729e-05/0.1226, allocations: 4 kB / 449 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1226, allocations: 4 kB / 449 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.1226, allocations: 8.297 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.668e-05/0.1227, allocations: 115.2 kB / 449.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1227, allocations: 4 kB / 449.1 MB, free: 6.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.123, allocations: 31.98 kB / 449.2 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.001106/0.1241, allocations: 0.501 MB / 449.7 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1243, allocations: 63.89 kB / 449.7 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1243, allocations: 0 / 449.7 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.055e-05/0.1244, allocations: 27.98 kB / 449.8 MB, free: 5.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.1247, allocations: 20.3 kB / 449.8 MB, free: 5.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.1251, allocations: 218.1 kB / 450 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.1254, allocations: 0.6965 MB / 450.7 MB, free: 4.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.385e-05/0.1255, allocations: 20.88 kB / 450.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.1255, allocations: 15.44 kB / 450.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1255, allocations: 0 / 450.7 MB, free: 4.922 MB / 382.1 MB Notification: Performance of Templates: time 0.004186/0.1297, allocations: 1.834 MB / 452.6 MB, free: 3.09 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches