Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 108.1 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001203, allocations: 209.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 82.22 kB / 417.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1363, allocations: 62.44 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003822/0.1402, allocations: 1.777 MB / 481.3 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.1421, allocations: 1.006 MB / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1422, allocations: 0 / 482.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.1427, allocations: 79.81 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.143, allocations: 107.6 kB / 482.5 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.1432, allocations: 67.81 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1435, allocations: 119.7 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1436, allocations: 4 kB / 482.6 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1437, allocations: 59.7 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1438, allocations: 59.75 kB / 482.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1438, allocations: 4 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.144, allocations: 47.98 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.384e-05/0.144, allocations: 27.92 kB / 482.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.936e-05/0.1441, allocations: 35.73 kB / 482.9 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.1443, allocations: 127.8 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1443, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1443, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1444, allocations: 0 / 483 MB, free: 2.094 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.0005847/0.1449, allocations: 422.9 kB / 483.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.145, allocations: 12.03 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1451, allocations: 16.73 kB / 483.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002734/0.1453, allocations: 204.6 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1454, allocations: 8.359 kB / 483.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1454, allocations: 12.03 kB / 483.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1455, allocations: 65.55 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1456, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1456, allocations: 0 / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1456, allocations: 4 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.1457, allocations: 15.98 kB / 483.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1461, allocations: 292.9 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1463, allocations: 66.59 kB / 484.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.1463, allocations: 16.86 kB / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1463, allocations: 0 / 484.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002176/0.1466, allocations: 75.38 kB / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1466, allocations: 0 / 484.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005677/0.1472, allocations: 177.1 kB / 484.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1472, allocations: 55.41 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.1475, allocations: 220.3 kB / 484.6 MB, free: 276 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1475, allocations: 25.7 kB / 484.7 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.1476, allocations: 108.1 kB / 484.8 MB, free: 132 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.1476, allocations: 27.64 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.303e-05/0.1476, allocations: 21.72 kB / 484.8 MB, free: 76 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1478, allocations: 334.8 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.1479, allocations: 15.98 kB / 485.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.148, allocations: 45.58 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.1481, allocations: 57.78 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1481, allocations: 0 / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000196/0.1483, allocations: 117.4 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1483, allocations: 4 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1484, allocations: 0 / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.1484, allocations: 4 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.1485, allocations: 15.98 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.1485, allocations: 0 / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.1486, allocations: 7.938 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1486, allocations: 0 / 485.4 MB, free: 15.46 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.0001282/0.1487, allocations: 144.3 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.1487, allocations: 11.91 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.1488, allocations: 13.41 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.778e-06/0.1488, allocations: 3.984 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.1488, allocations: 4.375 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.1488, allocations: 7.875 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.1493, allocations: 395.2 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1493, allocations: 4 kB / 486 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.1494, allocations: 20.02 kB / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1494, allocations: 0 / 486 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1494, allocations: 7.938 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1494, allocations: 0 / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1494, allocations: 0 / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1496, allocations: 200.2 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1497, allocations: 88.92 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1497, allocations: 15.92 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.1498, allocations: 0 / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.1499, allocations: 4 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.1499, allocations: 11.98 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001444/0.15, allocations: 165.2 kB / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.15, allocations: 0 / 486.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1503, allocations: 20 kB / 486.5 MB, free: 14.26 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.1514, allocations: 460.5 kB / 486.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.1516, allocations: 55.92 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1517, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.75e-05/0.1517, allocations: 40.17 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.1521, allocations: 35.3 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.1526, allocations: 275.4 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.153, allocations: 0.708 MB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.433e-05/0.1531, allocations: 16.88 kB / 488.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.1531, allocations: 19.38 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1531, allocations: 0 / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Templates: time 0.004613/0.1577, allocations: 1.72 MB / 489.8 MB, free: 11.07 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches