Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 103.2 kB / 17.21 MB, free: 6.266 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.001361/0.001361, allocations: 190 kB / 18.12 MB, free: 5.359 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.404/1.404, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2381/0.2381, allocations: 44.18 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001223, allocations: 63.94 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1356, allocations: 60.83 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003113/0.1387, allocations: 1.753 MB / 470.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1401, allocations: 0.8653 MB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.1402, allocations: 3.938 kB / 471.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1405, allocations: 43.88 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.1406, allocations: 39.84 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.1409, allocations: 95.77 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1411, allocations: 99.67 kB / 471.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.1412, allocations: 8.219 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.841e-05/0.1413, allocations: 35.8 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.1413, allocations: 35.84 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1414, allocations: 4 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.966e-05/0.1415, allocations: 39.98 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1415, allocations: 15.92 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.1416, allocations: 47.66 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1418, allocations: 103.9 kB / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1418, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1418, allocations: 0 / 471.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1418, allocations: 0 / 471.7 MB, free: 11.64 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000526/0.1423, allocations: 407.1 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.1424, allocations: 12.03 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.1425, allocations: 12.83 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1427, allocations: 208 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1427, allocations: 384 / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1427, allocations: 12.06 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1429, allocations: 57.61 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1429, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1429, allocations: 3.984 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1429, allocations: 3.938 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.143, allocations: 23.98 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.1434, allocations: 284.9 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1435, allocations: 58.62 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1436, allocations: 20.84 kB / 472.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.1436, allocations: 4 kB / 472.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.1438, allocations: 67.39 kB / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1439, allocations: 0 / 472.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000596/0.1445, allocations: 177.2 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.1445, allocations: 51.41 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.1447, allocations: 186.2 kB / 473.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1447, allocations: 29.7 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.157e-05/0.1448, allocations: 100.1 kB / 473.4 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/0.1448, allocations: 27.64 kB / 473.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.1449, allocations: 21.72 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.145, allocations: 330.8 kB / 473.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.1451, allocations: 19.92 kB / 473.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.1451, allocations: 37.7 kB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1453, allocations: 61.7 kB / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1453, allocations: 0 / 473.9 MB, free: 9.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.1455, allocations: 109.5 kB / 474 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1455, allocations: 4 kB / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1455, allocations: 384 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1455, allocations: 0 / 474 MB, free: 9.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.275e-05/0.1456, allocations: 19.98 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1456, allocations: 0 / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.1457, allocations: 15.94 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1457, allocations: 4.031 kB / 474 MB, free: 9.082 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 (10): * Single equations (assignments): 10 * 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.432e-05/0.1458, allocations: 128.4 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.1459, allocations: 11.91 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.1459, allocations: 16.72 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1459, allocations: 0 / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1459, allocations: 0 / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.1459, allocations: 15.86 kB / 474.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1464, allocations: 383.3 kB / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1464, allocations: 0 / 474.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.1464, allocations: 8.188 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1464, allocations: 0 / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1464, allocations: 15.88 kB / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1464, allocations: 0 / 474.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1465, allocations: 3.984 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1467, allocations: 208.2 kB / 474.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.1468, allocations: 93 kB / 474.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1468, allocations: 3.938 kB / 474.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.1469, allocations: 4 kB / 474.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1469, allocations: 7.984 kB / 474.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1469, allocations: 4 kB / 474.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.147, allocations: 143.2 kB / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1471, allocations: 0 / 475 MB, free: 7.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1473, allocations: 27.98 kB / 475.1 MB, free: 7.922 MB / 350.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 (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.001162/0.1485, allocations: 466.7 kB / 475.5 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001689/0.1487, allocations: 63.91 kB / 475.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1487, allocations: 0 / 475.6 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.103e-05/0.1488, allocations: 27.94 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1491, allocations: 30.78 kB / 475.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004295/0.1495, allocations: 245.4 kB / 475.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.1499, allocations: 0.7004 MB / 476.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.15, allocations: 20.86 kB / 476.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/0.15, allocations: 15.44 kB / 476.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.15, allocations: 4 kB / 476.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Templates: time 0.004327/0.1544, allocations: 1.641 MB / 478.3 MB, free: 4.863 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches