Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 80.06 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1375, allocations: 62.44 MB / 481.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002899/0.1405, allocations: 1.726 MB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.1421, allocations: 1.025 MB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.385e-05/0.1422, allocations: 4 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.1425, allocations: 47.75 kB / 484.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003098/0.1428, allocations: 103.6 kB / 484.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.143, allocations: 79.66 kB / 484.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.1432, allocations: 107.6 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1433, allocations: 11.98 kB / 484.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.961e-05/0.1434, allocations: 43.78 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.539e-05/0.1434, allocations: 39.72 kB / 484.6 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1435, allocations: 4 kB / 484.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.555e-05/0.1436, allocations: 47.98 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.1436, allocations: 27.91 kB / 484.7 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.1437, allocations: 39.69 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.1439, allocations: 143.4 kB / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1439, allocations: 0 / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.144, allocations: 0 / 484.9 MB, free: 1.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.144, allocations: 0 / 484.9 MB, free: 1.059 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.0005816/0.1445, allocations: 442.7 kB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1446, allocations: 12.03 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1446, allocations: 12.84 kB / 485.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1449, allocations: 224.9 kB / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.145, allocations: 384 / 485.6 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.145, allocations: 8.125 kB / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1451, allocations: 53.67 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.1452, allocations: 3.938 kB / 485.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1452, allocations: 0 / 485.6 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1452, allocations: 4 kB / 485.6 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.1453, allocations: 15.98 kB / 485.7 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1456, allocations: 300.9 kB / 486 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1458, allocations: 62.61 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.1459, allocations: 16.86 kB / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1459, allocations: 0 / 486 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.146, allocations: 79.31 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.146, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.1466, allocations: 189 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1466, allocations: 51.41 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000235/0.1469, allocations: 267 kB / 486.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1469, allocations: 33.69 kB / 486.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.147, allocations: 112.1 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.147, allocations: 23.72 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.147, allocations: 25.7 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1472, allocations: 330.8 kB / 487.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.604e-05/0.1472, allocations: 19.98 kB / 487.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.1473, allocations: 37.64 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1474, allocations: 57.91 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1474, allocations: 4 kB / 487.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1476, allocations: 121.4 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1476, allocations: 4 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1476, allocations: 0 / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1477, allocations: 0 / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.774e-05/0.1478, allocations: 16 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.1478, allocations: 3.984 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1478, allocations: 7.875 kB / 487.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1478, allocations: 4 kB / 487.4 MB, free: 14.32 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.0001144/0.148, allocations: 137.9 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.148, allocations: 19.75 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.148, allocations: 21.39 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.148, allocations: 0 / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1481, allocations: 0 / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1481, allocations: 3.938 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.1485, allocations: 411.3 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1485, allocations: 4.031 kB / 488 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.1486, allocations: 8 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1486, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.1486, allocations: 7.938 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1486, allocations: 4 kB / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.1486, allocations: 0 / 488 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1488, allocations: 204.1 kB / 488.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.1489, allocations: 92.92 kB / 488.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1489, allocations: 11.94 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.768e-05/0.149, allocations: 4.312 kB / 488.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.149, allocations: 7.984 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.1491, allocations: 4 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1492, allocations: 208.4 kB / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1492, allocations: 0 / 488.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1495, allocations: 28 kB / 488.5 MB, free: 13.07 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.001022/0.1505, allocations: 454.8 kB / 489 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1507, allocations: 59.91 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1507, allocations: 0 / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.026e-05/0.1508, allocations: 32.05 kB / 489.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1511, allocations: 31.8 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004819/0.1516, allocations: 299.6 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.1519, allocations: 0.7158 MB / 490.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.101e-05/0.152, allocations: 24.92 kB / 490.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.595e-05/0.152, allocations: 19.44 kB / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.152, allocations: 0 / 490.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of Templates: time 0.004876/0.1569, allocations: 1.764 MB / 491.9 MB, free: 9.812 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches