Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00239/0.00239, allocations: 118 kB / 18.46 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002888/0.002887, allocations: 207.4 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.4 MB / 251.7 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2392/0.2392, allocations: 46.17 MB / 351.1 MB, free: 14.3 MB / 286.1 MB " [Timeout remaining time 180] 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 80.02 kB / 490.3 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1425, allocations: 62.45 MB / 0.5398 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005124/0.1477, allocations: 1.732 MB / 0.5415 GB, free: 2.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.1501, allocations: 1.024 MB / 0.5425 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.1502, allocations: 3.938 kB / 0.5425 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.1506, allocations: 39.77 kB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003541/0.151, allocations: 95.55 kB / 0.5426 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1513, allocations: 83.66 kB / 0.5427 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.1515, allocations: 95.75 kB / 0.5428 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1516, allocations: 16 kB / 0.5428 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1517, allocations: 47.77 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.1518, allocations: 31.8 kB / 0.5429 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.1519, allocations: 4 kB / 0.5429 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.152, allocations: 47.97 kB / 0.5429 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1521, allocations: 19.92 kB / 0.5429 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.706e-05/0.1522, allocations: 35.69 kB / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1524, allocations: 131.4 kB / 0.5431 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1524, allocations: 4 kB / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1524, allocations: 0 / 0.5431 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1525, allocations: 4 kB / 0.5431 GB, free: 0.7578 MB / 398.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.0006835/0.1532, allocations: 422.6 kB / 0.5435 GB, free: 304 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1532, allocations: 12.03 kB / 0.5435 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.1533, allocations: 8.891 kB / 0.5435 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.1536, allocations: 212.1 kB / 0.5437 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.1536, allocations: 8.375 kB / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1536, allocations: 384 / 0.5437 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1538, allocations: 65.92 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1539, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1539, allocations: 0 / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.1539, allocations: 4 kB / 0.5438 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.086e-05/0.154, allocations: 15.98 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.1544, allocations: 296.7 kB / 0.5441 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1547, allocations: 66.61 kB / 0.5441 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.226e-05/0.1547, allocations: 20.84 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1548, allocations: 0 / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.155, allocations: 67.39 kB / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.155, allocations: 0 / 0.5442 GB, free: 15.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.1556, allocations: 181.3 kB / 0.5444 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1556, allocations: 51.41 kB / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1559, allocations: 210.1 kB / 0.5447 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.1559, allocations: 25.7 kB / 0.5447 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.156, allocations: 108.1 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.156, allocations: 27.78 kB / 0.5448 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.1561, allocations: 17.72 kB / 0.5448 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1563, allocations: 326.8 kB / 0.5451 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.195e-05/0.1563, allocations: 31.92 kB / 0.5452 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.1564, allocations: 33.7 kB / 0.5452 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1565, allocations: 57.72 kB / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1565, allocations: 0 / 0.5453 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.1567, allocations: 105.5 kB / 0.5454 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1568, allocations: 8 kB / 0.5454 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1568, allocations: 4.031 kB / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1568, allocations: 192 / 0.5454 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.1569, allocations: 16.36 kB / 0.5454 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1569, allocations: 7.938 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.157, allocations: 4 kB / 0.5454 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.157, allocations: 8 kB / 0.5454 GB, free: 14.15 MB / 414.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.0001233/0.1571, allocations: 137.7 kB / 0.5455 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.1571, allocations: 11.91 kB / 0.5455 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1572, allocations: 17.56 kB / 0.5456 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1572, allocations: 8 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1572, allocations: 0 / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1572, allocations: 3.984 kB / 0.5456 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.1577, allocations: 395.3 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1577, allocations: 0 / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.1578, allocations: 8 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1578, allocations: 3.938 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1578, allocations: 7.984 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1578, allocations: 3.969 kB / 0.546 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1578, allocations: 4 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002646/0.1581, allocations: 208.2 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.524e-05/0.1581, allocations: 85.06 kB / 0.5463 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1582, allocations: 0 / 0.5463 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.1582, allocations: 11.92 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.1583, allocations: 12 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1583, allocations: 4 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001502/0.1585, allocations: 156.8 kB / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1585, allocations: 0 / 0.5464 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1588, allocations: 31.92 kB / 0.5465 GB, free: 12.95 MB / 414.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.001735/0.1605, allocations: 456.5 kB / 0.5469 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1607, allocations: 59.91 kB / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1607, allocations: 0 / 0.547 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.112e-05/0.1608, allocations: 27.94 kB / 0.547 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.1612, allocations: 33.34 kB / 0.547 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.1617, allocations: 246.7 kB / 0.5472 GB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.1621, allocations: 0.7041 MB / 0.5479 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.1621, allocations: 21.17 kB / 0.548 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.1622, allocations: 19.44 kB / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1622, allocations: 0 / 0.548 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Templates: time 0.005205/0.1674, allocations: 1.752 MB / 0.5497 GB, free: 9.77 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.127740059047937]