Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 104.8 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2285/0.2285, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 81.34 kB / 416.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1301, allocations: 62.45 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003943/0.1341, allocations: 1.993 MB / 481.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1364, allocations: 1.048 MB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1365, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004201/0.137, allocations: 39.83 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000331/0.1374, allocations: 87.67 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.1377, allocations: 79.8 kB / 482.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.1379, allocations: 131.6 kB / 482.7 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1381, allocations: 21.56 kB / 482.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.1382, allocations: 63.7 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1383, allocations: 47.66 kB / 482.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1383, allocations: 7.938 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1384, allocations: 47.97 kB / 482.9 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.1385, allocations: 23.91 kB / 482.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.1386, allocations: 43.69 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1388, allocations: 147.7 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1389, allocations: 0 / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1389, allocations: 0 / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1389, allocations: 4 kB / 483.1 MB, free: 1.949 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007943/0.1397, allocations: 488.4 kB / 483.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1397, allocations: 8.875 kB / 483.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.1398, allocations: 20.73 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1401, allocations: 220.8 kB / 483.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.1401, allocations: 4.375 kB / 483.8 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/0.1401, allocations: 16.11 kB / 483.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1404, allocations: 112.2 kB / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.1404, allocations: 0 / 483.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1404, allocations: 7.938 kB / 483.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1405, allocations: 7.984 kB / 483.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.1406, allocations: 51.91 kB / 484 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000631/0.1412, allocations: 0.5048 MB / 484.5 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.1416, allocations: 90.59 kB / 484.6 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.525e-05/0.1417, allocations: 36.84 kB / 484.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1418, allocations: 4 kB / 484.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.142, allocations: 87.31 kB / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.142, allocations: 0 / 484.7 MB, free: 124 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004354/0.1424, allocations: 141.4 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1425, allocations: 55.34 kB / 484.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.1427, allocations: 210.1 kB / 485.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1427, allocations: 29.7 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.1428, allocations: 112 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1429, allocations: 35.55 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.1429, allocations: 25.72 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1431, allocations: 326.8 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.842e-05/0.1432, allocations: 27.98 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.1433, allocations: 68.27 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.1435, allocations: 96.2 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.1435, allocations: 4 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002633/0.1438, allocations: 137.7 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.1438, allocations: 4 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1438, allocations: 4 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1438, allocations: 0 / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.144, allocations: 31.95 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.144, allocations: 7.922 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.1441, allocations: 16.05 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1441, allocations: 7.984 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001033/0.1442, allocations: 132 kB / 486.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.1442, allocations: 11.81 kB / 486.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.1443, allocations: 25.39 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1443, allocations: 3.938 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1443, allocations: 0 / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1443, allocations: 0 / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1445, allocations: 209.5 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1445, allocations: 7.938 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.393e-05/0.1446, allocations: 15.98 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1446, allocations: 0 / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1446, allocations: 0 / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.1446, allocations: 7.938 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1446, allocations: 0 / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.145, allocations: 180.9 kB / 486.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1451, allocations: 96.95 kB / 486.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.1451, allocations: 4 kB / 486.7 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.669e-05/0.1452, allocations: 11.92 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1452, allocations: 4 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.1453, allocations: 8 kB / 486.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1454, allocations: 140.4 kB / 486.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1454, allocations: 0 / 486.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1457, allocations: 27.98 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001048/0.1467, allocations: 412.4 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002729/0.147, allocations: 75.91 kB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.147, allocations: 0 / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1471, allocations: 43.84 kB / 487.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.1475, allocations: 39.97 kB / 487.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006769/0.1482, allocations: 289.8 kB / 487.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.1486, allocations: 0.7204 MB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.719e-05/0.1487, allocations: 17.42 kB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.214e-05/0.1487, allocations: 15.44 kB / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1487, allocations: 0 / 488.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.005174/0.1539, allocations: 1.792 MB / 490.3 MB, free: 10.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches