Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 103.8 kB / 17.63 MB, free: 5.344 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.001584/0.001584, allocations: 192 kB / 18.56 MB, free: 4.434 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.392/1.392, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2053/0.2053, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 72.11 kB / 408.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1337, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.004006/0.1378, allocations: 1.653 MB / 470.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1393, allocations: 0.8496 MB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.983e-05/0.1395, allocations: 4 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.1398, allocations: 71.7 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.1401, allocations: 67.75 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.1404, allocations: 103.6 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1406, allocations: 95.69 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.047e-05/0.1406, allocations: 11.97 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1407, allocations: 43.84 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.1409, allocations: 47.77 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.1409, allocations: 4 kB / 472.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.141, allocations: 24 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1411, allocations: 15.98 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1411, allocations: 35.73 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.1414, allocations: 107.9 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1414, allocations: 0 / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.576e-06/0.1414, allocations: 0 / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1414, allocations: 3.938 kB / 472.4 MB, free: 11.21 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.0006453/0.1421, allocations: 395 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1421, allocations: 8.031 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.761e-05/0.1422, allocations: 8.844 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.1424, allocations: 212.1 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1425, allocations: 384 / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.1425, allocations: 4.125 kB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1427, allocations: 53.67 kB / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1427, allocations: 0 / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1427, allocations: 0 / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.1427, allocations: 0 / 473.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.1428, allocations: 19.92 kB / 473.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.143, allocations: 185.5 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.1432, allocations: 54.61 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1433, allocations: 20.8 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1433, allocations: 4 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.1435, allocations: 67.33 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.1435, allocations: 3.938 kB / 473.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002934/0.1438, allocations: 97.56 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.144, allocations: 55.41 kB / 473.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1441, allocations: 186.1 kB / 473.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1442, allocations: 25.7 kB / 473.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.1442, allocations: 100.1 kB / 473.9 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.1443, allocations: 15.81 kB / 473.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.1443, allocations: 21.7 kB / 473.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1444, allocations: 326.8 kB / 474.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.1445, allocations: 12 kB / 474.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.685e-05/0.1445, allocations: 29.64 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.199e-05/0.1446, allocations: 45.95 kB / 474.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1446, allocations: 4 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001396/0.1448, allocations: 81.47 kB / 474.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1448, allocations: 12.03 kB / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1448, allocations: 0 / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1448, allocations: 0 / 474.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.846e-05/0.1449, allocations: 8 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1449, allocations: 4 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.18e-05/0.145, allocations: 7.984 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.145, allocations: 4 kB / 474.4 MB, free: 8.949 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 9.689e-05/0.1451, allocations: 121.8 kB / 474.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.1451, allocations: 11.84 kB / 474.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.1452, allocations: 20.3 kB / 474.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1452, allocations: 3.984 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.1452, allocations: 0 / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1452, allocations: 3.938 kB / 474.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.1453, allocations: 193.5 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1454, allocations: 0 / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.1454, allocations: 7.984 kB / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1454, allocations: 0 / 474.8 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1454, allocations: 4 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1454, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.1454, allocations: 0 / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.1457, allocations: 113 kB / 474.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1457, allocations: 84.95 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.1457, allocations: 7.938 kB / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.05e-05/0.1458, allocations: 0 / 475 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1458, allocations: 7.984 kB / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1458, allocations: 4.125 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.146, allocations: 143.2 kB / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.723e-06/0.146, allocations: 0 / 475.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002061/0.1462, allocations: 27.92 kB / 475.2 MB, free: 8.109 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.0009315/0.1471, allocations: 398.5 kB / 475.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.1473, allocations: 39.98 kB / 475.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1473, allocations: 0 / 475.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.1474, allocations: 23.92 kB / 475.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.1476, allocations: 39.14 kB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.148, allocations: 194.2 kB / 475.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.1483, allocations: 0.7041 MB / 476.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.018e-05/0.1484, allocations: 20.53 kB / 476.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.933e-05/0.1484, allocations: 11.44 kB / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1484, allocations: 0 / 476.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of Templates: time 0.004692/0.1531, allocations: 1.469 MB / 478 MB, free: 5.34 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches