Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008124/0.0008125, allocations: 97.44 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 201.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.8 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.275/0.275, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002787, allocations: 12 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.00213/0.1391, allocations: 1.407 MB / 484.5 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.1414, allocations: 0.9629 MB / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.1415, allocations: 0 / 485.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1418, allocations: 67.8 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.1421, allocations: 87.72 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.1423, allocations: 63.81 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1424, allocations: 99.69 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.1425, allocations: 4.234 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.1426, allocations: 43.77 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.1427, allocations: 43.84 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.1427, allocations: 0 / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.1428, allocations: 43.91 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.1429, allocations: 15.92 kB / 485.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.143, allocations: 57.45 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.1431, allocations: 103.9 kB / 486.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1431, allocations: 4 kB / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1432, allocations: 0 / 486.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1432, allocations: 0 / 486.1 MB, free: 1.137 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.0005003/0.1437, allocations: 383.2 kB / 486.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1437, allocations: 12.88 kB / 486.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1438, allocations: 12.75 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.144, allocations: 220.7 kB / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.144, allocations: 384 / 486.7 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.144, allocations: 8.062 kB / 486.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.1442, allocations: 49.67 kB / 486.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.1442, allocations: 3.938 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1442, allocations: 0 / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1442, allocations: 0 / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.456e-05/0.1443, allocations: 19.97 kB / 486.8 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002458/0.1445, allocations: 185.7 kB / 487 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1447, allocations: 54.56 kB / 487 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.298e-05/0.1448, allocations: 24.78 kB / 487 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1448, allocations: 0 / 487 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.145, allocations: 63.39 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.145, allocations: 4 kB / 487.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002793/0.1453, allocations: 97.42 kB / 487.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.1454, allocations: 55.41 kB / 487.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.1456, allocations: 186.9 kB / 487.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1456, allocations: 29.7 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.1456, allocations: 104.1 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1457, allocations: 7.906 kB / 487.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.1457, allocations: 17.7 kB / 487.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.1458, allocations: 326.8 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.1459, allocations: 12 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.1459, allocations: 25.7 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.611e-05/0.146, allocations: 49.64 kB / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1461, allocations: 0 / 488 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001661/0.1462, allocations: 81.47 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1463, allocations: 14.19 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1463, allocations: 0 / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.1463, allocations: 0 / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.1464, allocations: 11.94 kB / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1464, allocations: 0 / 488.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.17e-05/0.1464, allocations: 12.3 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1464, allocations: 4 kB / 488.1 MB, free: 14.87 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 (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 0.000116/0.1466, allocations: 121.8 kB / 488.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.1466, allocations: 11.91 kB / 488.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.1466, allocations: 20.98 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1467, allocations: 4 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1467, allocations: 3.938 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1467, allocations: 0 / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.1468, allocations: 197.4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1468, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/0.1469, allocations: 4 kB / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1469, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1469, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1469, allocations: 0 / 488.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1469, allocations: 7.938 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.1471, allocations: 112.9 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.1471, allocations: 89 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.1472, allocations: 4 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.089e-05/0.1473, allocations: 4 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1473, allocations: 4 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.1473, allocations: 3.984 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.1475, allocations: 152.8 kB / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1475, allocations: 0 / 488.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1477, allocations: 23.98 kB / 488.9 MB, free: 14.03 MB / 366.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.0009604/0.1487, allocations: 406.5 kB / 489.3 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1488, allocations: 39.92 kB / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1488, allocations: 0 / 489.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.121e-05/0.1489, allocations: 16 kB / 489.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1492, allocations: 39.95 kB / 489.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.1497, allocations: 225.1 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.15, allocations: 0.7043 MB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.312e-05/0.1501, allocations: 20.39 kB / 490.3 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.1501, allocations: 19.44 kB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1502, allocations: 0 / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Templates: time 0.004462/0.1546, allocations: 1.413 MB / 491.7 MB, free: 11.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches