Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2436/0.2436, allocations: 46.1 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 71.89 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1445, allocations: 62.45 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003523/0.1481, allocations: 1.735 MB / 483.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.1499, allocations: 1.021 MB / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.72e-05/0.15, allocations: 0 / 484.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1503, allocations: 51.75 kB / 484.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1507, allocations: 103.5 kB / 484.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1509, allocations: 83.66 kB / 484.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1511, allocations: 103.7 kB / 484.5 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1512, allocations: 4 kB / 484.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1513, allocations: 43.78 kB / 484.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.382e-05/0.1514, allocations: 39.78 kB / 484.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1515, allocations: 4 kB / 484.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1516, allocations: 47.98 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.1517, allocations: 27.91 kB / 484.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.1518, allocations: 43.62 kB / 484.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.152, allocations: 135.5 kB / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1521, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1521, allocations: 0 / 484.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.1521, allocations: 4 kB / 484.9 MB, free: 1.09 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.0006099/0.1527, allocations: 442.7 kB / 485.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.1528, allocations: 8.031 kB / 485.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.1528, allocations: 16.84 kB / 485.3 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1531, allocations: 228.9 kB / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.1532, allocations: 384 / 485.6 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.1532, allocations: 8.125 kB / 485.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.1534, allocations: 57.61 kB / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.1534, allocations: 0 / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1534, allocations: 0 / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1534, allocations: 0 / 485.6 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.375e-05/0.1535, allocations: 19.98 kB / 485.7 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.1539, allocations: 296.9 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1541, allocations: 62.61 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1542, allocations: 16.86 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1542, allocations: 4 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.1544, allocations: 75.27 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1544, allocations: 0 / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.1549, allocations: 188.9 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.155, allocations: 51.41 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.1553, allocations: 275 kB / 486.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.1553, allocations: 29.7 kB / 486.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/0.1554, allocations: 112.1 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.1554, allocations: 23.72 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.895e-05/0.1555, allocations: 21.7 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1556, allocations: 334.8 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1557, allocations: 15.98 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.1557, allocations: 41.64 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001177/0.1559, allocations: 57.78 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1559, allocations: 4 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001804/0.1561, allocations: 113.8 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1561, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1561, allocations: 4 kB / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1561, allocations: 0 / 487.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.1562, allocations: 19.98 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1562, allocations: 0 / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.1563, allocations: 11.88 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1563, allocations: 4 kB / 487.4 MB, free: 14.35 MB / 366.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 0.0001254/0.1564, allocations: 144.5 kB / 487.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1565, allocations: 11.81 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.1565, allocations: 25.39 kB / 487.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1565, allocations: 4 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1565, allocations: 0 / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.1566, allocations: 3.938 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/0.1571, allocations: 395.3 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1571, allocations: 4.031 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.1571, allocations: 8 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1571, allocations: 0 / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1571, allocations: 11.94 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1571, allocations: 3.984 kB / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1572, allocations: 0 / 488 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.1574, allocations: 212.1 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.1575, allocations: 93.11 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.1575, allocations: 7.938 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.1576, allocations: 7.938 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.1577, allocations: 7.984 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.1577, allocations: 0 / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.1579, allocations: 212.4 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1579, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1582, allocations: 24 kB / 488.5 MB, free: 13.1 MB / 366.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.001126/0.1593, allocations: 450 kB / 489 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1595, allocations: 67.89 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1595, allocations: 0 / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.1596, allocations: 31.98 kB / 489.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.16, allocations: 27.92 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006097/0.1606, allocations: 295.6 kB / 489.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.161, allocations: 0.7158 MB / 490.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.66e-05/0.1611, allocations: 20.94 kB / 490.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.1612, allocations: 23.42 kB / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1612, allocations: 0 / 490.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of Templates: time 0.005067/0.1662, allocations: 1.768 MB / 491.9 MB, free: 9.844 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches