Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001186/0.001186, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.322/1.322, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.235/0.235, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.31 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1342, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004648/0.1389, allocations: 1.882 MB / 471.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002295/0.1412, allocations: 0.9938 MB / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.1414, allocations: 0 / 472.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006047/0.142, allocations: 219.4 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004702/0.1425, allocations: 171.4 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006102/0.1431, allocations: 174.3 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003776/0.1435, allocations: 243.3 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1437, allocations: 29.67 kB / 473 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.1439, allocations: 123.5 kB / 473.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.1441, allocations: 147.5 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.1441, allocations: 8 kB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1443, allocations: 59.97 kB / 473.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.1444, allocations: 59.77 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.1446, allocations: 91.27 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.1449, allocations: 227.5 kB / 473.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1449, allocations: 4 kB / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1449, allocations: 0 / 473.7 MB, free: 9.941 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.145, allocations: 0 / 473.7 MB, free: 9.941 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001004/0.146, allocations: 0.5525 MB / 474.2 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.146, allocations: 8.031 kB / 474.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.87e-05/0.1461, allocations: 24.66 kB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.1465, allocations: 276.1 kB / 474.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.1466, allocations: 8.375 kB / 474.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.1466, allocations: 12.12 kB / 474.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.1469, allocations: 111.3 kB / 474.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.1469, allocations: 11.84 kB / 474.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.147, allocations: 4 kB / 474.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.147, allocations: 0 / 474.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1472, allocations: 47.95 kB / 474.7 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.1479, allocations: 480.6 kB / 475.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.1484, allocations: 121.2 kB / 475.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.1486, allocations: 49.83 kB / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.616e-05/0.1486, allocations: 0 / 475.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004232/0.149, allocations: 116.3 kB / 475.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 4.609e-06/0.1491, allocations: 0 / 475.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001793/0.1509, allocations: 0.4969 MB / 475.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.776e-05/0.1509, allocations: 85.05 kB / 476 MB, free: 7.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.1515, allocations: 428.5 kB / 476.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.1516, allocations: 29.7 kB / 476.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.1517, allocations: 160.4 kB / 476.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.1518, allocations: 67.11 kB / 476.7 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.1519, allocations: 41.7 kB / 476.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1521, allocations: 350.8 kB / 477.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1523, allocations: 55.91 kB / 477.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1524, allocations: 95.34 kB / 477.2 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.1527, allocations: 159.3 kB / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1527, allocations: 0 / 477.4 MB, free: 5.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000456/0.1532, allocations: 233.4 kB / 477.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.1532, allocations: 11.94 kB / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1532, allocations: 0 / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1532, allocations: 0 / 477.6 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1535, allocations: 51.91 kB / 477.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1535, allocations: 0 / 477.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.1536, allocations: 11.94 kB / 477.7 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/0.1536, allocations: 12.06 kB / 477.7 MB, free: 5.609 MB / 350.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 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002196/0.1539, allocations: 165.8 kB / 477.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/0.154, allocations: 31.56 kB / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.1541, allocations: 46.56 kB / 477.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1541, allocations: 3.984 kB / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1541, allocations: 0 / 477.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1541, allocations: 7.984 kB / 478 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1552, allocations: 0.7194 MB / 478.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1552, allocations: 4 kB / 478.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.194e-05/0.1553, allocations: 31.92 kB / 478.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1553, allocations: 0 / 478.7 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1554, allocations: 8.125 kB / 478.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1554, allocations: 8 kB / 478.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1554, allocations: 3.984 kB / 478.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.1558, allocations: 421.7 kB / 479.1 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.415e-05/0.1559, allocations: 100.9 kB / 479.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.156, allocations: 11.98 kB / 479.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.1561, allocations: 15.94 kB / 479.3 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.1562, allocations: 27.84 kB / 479.3 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.1562, allocations: 8 kB / 479.3 MB, free: 3.883 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.1565, allocations: 319 kB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1565, allocations: 0 / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.1569, allocations: 55.98 kB / 479.7 MB, free: 3.52 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001151/0.158, allocations: 0.5078 MB / 480.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.1584, allocations: 167.8 kB / 480.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1584, allocations: 0 / 480.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1586, allocations: 80.22 kB / 480.4 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.1591, allocations: 65.2 kB / 480.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.1599, allocations: 0.5589 MB / 481 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1602, allocations: 0.7675 MB / 481.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.968e-05/0.1603, allocations: 41.92 kB / 481.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.1604, allocations: 35.42 kB / 481.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1604, allocations: 0 / 481.9 MB, free: 1.445 MB / 350.1 MB Notification: Performance of Templates: time 0.006529/0.1669, allocations: 3.106 MB / 485 MB, free: 14.37 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches