Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 106.9 kB / 17.21 MB, free: 6.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2504/0.2504, allocations: 44.17 MB / 336.1 MB, free: 3.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 69.2 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.005218/0.1461, allocations: 1.706 MB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1484, allocations: 0.8537 MB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1486, allocations: 0 / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004501/0.149, allocations: 59.8 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002994/0.1494, allocations: 59.81 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/0.15, allocations: 90.33 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1502, allocations: 95.69 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.1503, allocations: 4 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.1504, allocations: 43.72 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.1506, allocations: 43.83 kB / 471.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1506, allocations: 4 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1508, allocations: 31.98 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.1508, allocations: 15.92 kB / 471.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.1509, allocations: 31.8 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1512, allocations: 95.88 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1512, allocations: 4 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1512, allocations: 0 / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1512, allocations: 0 / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007245/0.152, allocations: 406 kB / 472.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.152, allocations: 8.031 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.677e-05/0.1521, allocations: 12.84 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.1525, allocations: 200.1 kB / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1525, allocations: 384 / 472.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1525, allocations: 12.06 kB / 472.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1528, allocations: 61.61 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1528, allocations: 0 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1528, allocations: 0 / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1528, allocations: 4 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.1529, allocations: 12 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.1532, allocations: 181.5 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.1535, allocations: 58.61 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.1536, allocations: 24.78 kB / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.1536, allocations: 0 / 472.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.1539, allocations: 67.33 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.486e-06/0.1539, allocations: 7.984 kB / 472.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004159/0.1544, allocations: 89.58 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1544, allocations: 59.41 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.1547, allocations: 186.1 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.1547, allocations: 37.64 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.02e-05/0.1548, allocations: 96.14 kB / 473.1 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.1549, allocations: 11.8 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.155, allocations: 21.72 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1551, allocations: 322.8 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.769e-05/0.1552, allocations: 11.94 kB / 473.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.1553, allocations: 37.7 kB / 473.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1555, allocations: 41.7 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1555, allocations: 0 / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000247/0.1557, allocations: 85.47 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.1558, allocations: 4 kB / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1558, allocations: 0 / 473.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.1558, allocations: 4.031 kB / 473.7 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1559, allocations: 15.98 kB / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.156, allocations: 160 / 473.7 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.045e-05/0.156, allocations: 4 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.1561, allocations: 320 / 473.7 MB, free: 9.414 MB / 350.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002157/0.1563, allocations: 133.7 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.1563, allocations: 7.906 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.61e-05/0.1564, allocations: 16.3 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.1564, allocations: 0 / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.1564, allocations: 11.94 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1564, allocations: 0 / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.1567, allocations: 197.5 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1567, allocations: 0 / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.157e-05/0.1567, allocations: 4 kB / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1567, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1568, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1568, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1568, allocations: 0 / 474.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.1571, allocations: 113 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.1572, allocations: 88.95 kB / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.1572, allocations: 0 / 474.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.1573, allocations: 11.98 kB / 474.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1574, allocations: 3.938 kB / 474.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1574, allocations: 4 kB / 474.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.1576, allocations: 139.2 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1576, allocations: 0 / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000533/0.1582, allocations: 16 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001445/0.1596, allocations: 405 kB / 474.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.1599, allocations: 35.98 kB / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1599, allocations: 0 / 474.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.474e-05/0.16, allocations: 27.92 kB / 474.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004038/0.1604, allocations: 32.55 kB / 474.9 MB, free: 8.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006193/0.1611, allocations: 215.8 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.1615, allocations: 0.6926 MB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.478e-05/0.1616, allocations: 12.55 kB / 475.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.1617, allocations: 23.44 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1617, allocations: 0 / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of Templates: time 0.006417/0.1681, allocations: 1.42 MB / 477.3 MB, free: 5.84 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches