Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001561, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001892/0.001892, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 81.3 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1268, allocations: 62.44 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003575/0.1304, allocations: 1.728 MB / 481.8 MB, free: 3.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1329, allocations: 1.623 MB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.133, allocations: 4 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.1333, allocations: 35.77 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.1337, allocations: 91.61 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.134, allocations: 83.66 kB / 483.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1342, allocations: 111.6 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.841e-05/0.1343, allocations: 15.98 kB / 483.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.041e-05/0.1344, allocations: 43.78 kB / 483.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000144/0.1345, allocations: 51.77 kB / 483.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1346, allocations: 4 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1348, allocations: 115.9 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.1348, allocations: 15.92 kB / 483.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.1349, allocations: 31.81 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003082/0.1352, allocations: 167.8 kB / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1352, allocations: 0 / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1352, allocations: 0 / 484.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1352, allocations: 0 / 484.1 MB, free: 1.133 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.0005408/0.1358, allocations: 431 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.1358, allocations: 11.97 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.1359, allocations: 8.844 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.1361, allocations: 216 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1361, allocations: 3.938 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.1362, allocations: 4 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.1363, allocations: 67.39 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1364, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.1364, allocations: 8 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1364, allocations: 0 / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.923e-05/0.1365, allocations: 23.92 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.1369, allocations: 284.9 kB / 485.2 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.137, allocations: 54.69 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.288e-05/0.1371, allocations: 24.84 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1371, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.1374, allocations: 71.33 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1374, allocations: 3.938 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005019/0.1379, allocations: 177.1 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1379, allocations: 81.05 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1381, allocations: 167.9 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.1382, allocations: 29.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.1382, allocations: 100.1 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.1383, allocations: 23.66 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.1383, allocations: 21.7 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1384, allocations: 322.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.806e-05/0.1385, allocations: 20 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.1386, allocations: 46.56 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1387, allocations: 65.58 kB / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1387, allocations: 0 / 486.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001868/0.1389, allocations: 93.58 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1389, allocations: 11.94 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1389, allocations: 384 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1389, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.137e-05/0.139, allocations: 12 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.139, allocations: 16 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.218e-05/0.1391, allocations: 7.984 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1391, allocations: 4 kB / 486.5 MB, free: 14.52 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 9.501e-05/0.1392, allocations: 120.4 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.1392, allocations: 11.81 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.1393, allocations: 16.7 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1393, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.1393, allocations: 3.938 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1393, allocations: 3.984 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004358/0.1398, allocations: 399.3 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1398, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.1398, allocations: 19.88 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1398, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1398, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1398, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1399, allocations: 3.984 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1401, allocations: 204.3 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.423e-05/0.1401, allocations: 84.95 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.1402, allocations: 4.188 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.391e-05/0.1403, allocations: 4 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/0.1403, allocations: 11.92 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.1403, allocations: 4 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1404, allocations: 134.4 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1404, allocations: 4 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1407, allocations: 43.98 kB / 487.5 MB, free: 13.36 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.001187/0.1419, allocations: 0.5312 MB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1421, allocations: 63.91 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1421, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.169e-05/0.1422, allocations: 27.98 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1426, allocations: 42.56 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.143, allocations: 206.8 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.1432, allocations: 0.6962 MB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.884e-05/0.1433, allocations: 20.86 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.134e-05/0.1433, allocations: 23.42 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1434, allocations: 0 / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005332/0.1487, allocations: 2.348 MB / 491.5 MB, free: 9.559 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches