Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 88.19 kB / 15.7 MB, free: 460 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.001681/0.001681, allocations: 174.3 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 222.8 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.4546/0.4546, allocations: 43.57 MB / 314.6 MB, free: 8.727 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.0005403/0.0005405, allocations: 16 kB / 384 MB, free: 7.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1368, allocations: 58.87 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001975/0.1389, allocations: 1.391 MB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.14, allocations: 0.746 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.1401, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002564/0.1404, allocations: 35.91 kB / 445 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.1406, allocations: 47.83 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1408, allocations: 71.84 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.141, allocations: 83.7 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1411, allocations: 20.19 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.667e-05/0.1411, allocations: 35.8 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.1412, allocations: 27.84 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1412, allocations: 4 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.1413, allocations: 35.98 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.281e-05/0.1414, allocations: 23.92 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.1414, allocations: 37.64 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.1416, allocations: 92.02 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1416, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1416, allocations: 0 / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1416, allocations: 0 / 445.5 MB, free: 10.32 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.0005047/0.1421, allocations: 398.8 kB / 445.9 MB, free: 9.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1422, allocations: 8.031 kB / 445.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.1422, allocations: 15.91 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1424, allocations: 211.5 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1424, allocations: 0 / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1425, allocations: 0 / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1426, allocations: 57.67 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1426, allocations: 3.906 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.1427, allocations: 0 / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1427, allocations: 3.953 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.1427, allocations: 19.98 kB / 446.2 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003564/0.1431, allocations: 288.9 kB / 446.5 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.1433, allocations: 54.67 kB / 446.5 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.1433, allocations: 20.84 kB / 446.5 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1434, allocations: 7.922 kB / 446.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001813/0.1435, allocations: 75.34 kB / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/0.1436, allocations: 0 / 446.6 MB, free: 9.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000513/0.1441, allocations: 177.1 kB / 446.8 MB, free: 8.836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1441, allocations: 51.41 kB / 446.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.1443, allocations: 195.3 kB / 447 MB, free: 8.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1444, allocations: 29.7 kB / 447.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1444, allocations: 108.1 kB / 447.2 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1445, allocations: 19.72 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1445, allocations: 4 kB / 447.2 MB, free: 8.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1446, allocations: 326.8 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.266e-05/0.1447, allocations: 15.98 kB / 447.5 MB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1448, allocations: 37.7 kB / 447.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.686e-05/0.1448, allocations: 24 kB / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1448, allocations: 0 / 447.6 MB, free: 7.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000184/0.145, allocations: 113.4 kB / 447.7 MB, free: 7.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.145, allocations: 4 kB / 447.7 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1451, allocations: 4 kB / 447.7 MB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1451, allocations: 3.984 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.1452, allocations: 12 kB / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1452, allocations: 0 / 447.7 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1452, allocations: 11.98 kB / 447.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.1453, allocations: 4 kB / 447.7 MB, free: 7.84 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.0001027/0.1454, allocations: 129.7 kB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1454, allocations: 27.88 kB / 447.9 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.1454, allocations: 13.41 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1454, allocations: 0 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1455, allocations: 384 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1455, allocations: 0 / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.1459, allocations: 395.2 kB / 448.3 MB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1459, allocations: 4 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.146, allocations: 11.98 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.146, allocations: 4.031 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.146, allocations: 4 kB / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.146, allocations: 0 / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.211e-05/0.146, allocations: 0 / 448.3 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.1462, allocations: 208.2 kB / 448.5 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1463, allocations: 92.95 kB / 448.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1463, allocations: 8 kB / 448.6 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1464, allocations: 4 kB / 448.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1464, allocations: 7.984 kB / 448.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1465, allocations: 4 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1466, allocations: 152.9 kB / 448.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1466, allocations: 4.188 kB / 448.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.1469, allocations: 27.91 kB / 448.8 MB, free: 6.66 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.001099/0.148, allocations: 461.4 kB / 449.3 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.1482, allocations: 59.92 kB / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1482, allocations: 0 / 449.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.1482, allocations: 23.98 kB / 449.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000322/0.1486, allocations: 35.98 kB / 449.4 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.149, allocations: 250.3 kB / 449.6 MB, free: 5.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.1493, allocations: 0.7043 MB / 450.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.964e-05/0.1494, allocations: 16.88 kB / 450.3 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.1494, allocations: 15.44 kB / 450.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1494, allocations: 0 / 450.4 MB, free: 5.086 MB / 382.1 MB Notification: Performance of Templates: time 0.004226/0.1536, allocations: 1.591 MB / 451.9 MB, free: 3.496 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches