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.001438/0.001438, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 86.41 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1318, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003295/0.1352, allocations: 1.685 MB / 481.8 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1369, allocations: 1.013 MB / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.116e-05/0.137, allocations: 0 / 482.8 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1373, allocations: 59.73 kB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003544/0.1377, allocations: 107.5 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1379, allocations: 71.73 kB / 483 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.1382, allocations: 107.7 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.977e-05/0.1382, allocations: 4.234 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.1383, allocations: 51.72 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.1385, allocations: 47.83 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1385, allocations: 4 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.666e-05/0.1386, allocations: 28 kB / 483.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.1387, allocations: 19.92 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.203e-05/0.1387, allocations: 39.72 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.139, allocations: 95.94 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.139, allocations: 4 kB / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.139, allocations: 0 / 483.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.139, allocations: 0 / 483.4 MB, free: 1.863 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.0006274/0.1396, allocations: 418.9 kB / 483.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.1397, allocations: 12.03 kB / 483.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.776e-05/0.1397, allocations: 8.844 kB / 483.8 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.14, allocations: 208.8 kB / 484.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.14, allocations: 4.312 kB / 484.1 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.14, allocations: 4.125 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1402, allocations: 49.67 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.1402, allocations: 0 / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1402, allocations: 0 / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1402, allocations: 4 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.106e-05/0.1403, allocations: 19.92 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.1405, allocations: 181.7 kB / 484.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1407, allocations: 50.62 kB / 484.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.1408, allocations: 24.78 kB / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1408, allocations: 0 / 484.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.141, allocations: 67.33 kB / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.141, allocations: 0 / 484.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003756/0.1414, allocations: 97.48 kB / 484.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.1414, allocations: 51.41 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1416, allocations: 194.4 kB / 484.8 MB, free: 312 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1417, allocations: 33.64 kB / 484.8 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.1417, allocations: 104.1 kB / 484.9 MB, free: 164 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1418, allocations: 11.89 kB / 484.9 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.1418, allocations: 25.7 kB / 485 MB, free: 120 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.142, allocations: 322.8 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.088e-05/0.142, allocations: 12 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/0.1421, allocations: 33.64 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1422, allocations: 45.95 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.1422, allocations: 4 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.1424, allocations: 89.38 kB / 485.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1424, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1424, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1424, allocations: 4 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.346e-05/0.1425, allocations: 11.98 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1425, allocations: 0 / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1426, allocations: 4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.1426, allocations: 4.031 kB / 485.5 MB, free: 15.57 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.0001156/0.1427, allocations: 129.8 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.1427, allocations: 15.81 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.1428, allocations: 13 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1428, allocations: 3.938 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1428, allocations: 0 / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.143, allocations: 197.4 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.143, allocations: 0 / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.315e-05/0.1431, allocations: 4 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1431, allocations: 4 kB / 485.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1431, allocations: 4 kB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.1431, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1431, allocations: 0 / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.1433, allocations: 109 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.1434, allocations: 85.02 kB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1434, allocations: 3.984 kB / 486 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.04e-05/0.1434, allocations: 12.12 kB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1435, allocations: 4 kB / 486 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1435, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1436, allocations: 148.2 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1436, allocations: 0 / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.1438, allocations: 15.98 kB / 486.2 MB, free: 14.73 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.0009136/0.1448, allocations: 411.4 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001683/0.1449, allocations: 43.98 kB / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.145, allocations: 0 / 486.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.391e-05/0.145, allocations: 23.94 kB / 486.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1453, allocations: 31.16 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.1458, allocations: 210 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.146, allocations: 0.7049 MB / 487.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.245e-05/0.1461, allocations: 16.53 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.931e-05/0.1461, allocations: 11.44 kB / 487.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1461, allocations: 4 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.004599/0.1508, allocations: 1.499 MB / 489.2 MB, free: 11.89 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