Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001391, allocations: 115.8 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001608/0.001608, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2823/0.2823, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 76.25 kB / 417.1 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1333, allocations: 62.44 MB / 479.5 MB, free: 5.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003951/0.1373, allocations: 1.76 MB / 481.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1391, allocations: 0.9861 MB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.1392, allocations: 0 / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.1396, allocations: 47.83 kB / 482.3 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003388/0.14, allocations: 83.73 kB / 482.4 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1402, allocations: 63.86 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1404, allocations: 99.7 kB / 482.5 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1405, allocations: 12.16 kB / 482.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.029e-05/0.1406, allocations: 43.8 kB / 482.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.723e-05/0.1406, allocations: 31.84 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.472e-05/0.1407, allocations: 4 kB / 482.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.349e-05/0.1408, allocations: 35.98 kB / 482.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1408, allocations: 31.8 kB / 482.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1409, allocations: 47.66 kB / 482.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1411, allocations: 115.8 kB / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.1411, allocations: 0 / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1411, allocations: 0 / 482.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1411, allocations: 4 kB / 482.8 MB, free: 2.262 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.0005351/0.1417, allocations: 437.1 kB / 483.3 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1417, allocations: 12.03 kB / 483.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.1418, allocations: 12.75 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.142, allocations: 224.8 kB / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.142, allocations: 384 / 483.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.142, allocations: 12.06 kB / 483.5 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.1422, allocations: 49.67 kB / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1422, allocations: 0 / 483.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1422, allocations: 4 kB / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1422, allocations: 0 / 483.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.816e-05/0.1423, allocations: 15.98 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1425, allocations: 189.7 kB / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1427, allocations: 54.56 kB / 483.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.1427, allocations: 24.78 kB / 483.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1427, allocations: 4 kB / 483.9 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1429, allocations: 63.39 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.693e-06/0.1429, allocations: 3.938 kB / 483.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002774/0.1432, allocations: 97.48 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1433, allocations: 59.34 kB / 484.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.1435, allocations: 267 kB / 484.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.1435, allocations: 29.7 kB / 484.4 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.305e-05/0.1436, allocations: 120.1 kB / 484.5 MB, free: 424 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1436, allocations: 7.906 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.1437, allocations: 17.72 kB / 484.5 MB, free: 392 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1438, allocations: 330.8 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.945e-05/0.1439, allocations: 12 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.1439, allocations: 25.7 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.144, allocations: 49.7 kB / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.144, allocations: 0 / 484.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000156/0.1442, allocations: 97.69 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1442, allocations: 4 kB / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1442, allocations: 0 / 485 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1443, allocations: 4 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.1443, allocations: 8 kB / 485 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1443, allocations: 3.984 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.1444, allocations: 19.81 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.1444, allocations: 0 / 485.1 MB, free: 15.81 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.0001043/0.1445, allocations: 141.8 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.1445, allocations: 11.91 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.1446, allocations: 16.98 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1446, allocations: 4 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1446, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1446, allocations: 0 / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1448, allocations: 201.5 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1448, allocations: 0 / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.987e-05/0.1448, allocations: 8 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1448, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1448, allocations: 4 kB / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1448, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1448, allocations: 0 / 485.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.145, allocations: 108.9 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.1451, allocations: 88.92 kB / 485.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.1451, allocations: 15.92 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.648e-05/0.1451, allocations: 4 kB / 485.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.1452, allocations: 4 kB / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.1452, allocations: 0 / 485.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1454, allocations: 208.4 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1454, allocations: 0 / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002108/0.1456, allocations: 20 kB / 485.9 MB, free: 14.9 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.0008861/0.1465, allocations: 410.6 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001667/0.1467, allocations: 51.91 kB / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1467, allocations: 0 / 486.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.1467, allocations: 16 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.147, allocations: 34.91 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004467/0.1475, allocations: 286.5 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.1477, allocations: 0.7166 MB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.902e-05/0.1478, allocations: 12.8 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.1478, allocations: 15.44 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1478, allocations: 4 kB / 487.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of Templates: time 0.003871/0.1517, allocations: 1.506 MB / 488.9 MB, free: 11.95 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches