Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.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.001622/0.001622, allocations: 107.8 kB / 19.17 MB, free: 3.871 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.002039/0.002039, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.453/1.453, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2259/0.2259, allocations: 46.88 MB / 358.1 MB, free: 10.51 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 83.86 kB / 0.4924 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1316, allocations: 65.98 MB / 0.5569 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003157/0.1348, allocations: 1.693 MB / 0.5585 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1365, allocations: 1.011 MB / 0.5595 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.804e-05/0.1366, allocations: 4 kB / 0.5595 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1369, allocations: 71.7 kB / 0.5596 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.1372, allocations: 103.5 kB / 0.5597 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.1374, allocations: 75.67 kB / 0.5598 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001882/0.1376, allocations: 107.7 kB / 0.5599 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1377, allocations: 4.234 kB / 0.5599 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1378, allocations: 47.78 kB / 0.5599 GB, free: 2.711 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1379, allocations: 55.75 kB / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1379, allocations: 0 / 0.56 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.138, allocations: 35.98 kB / 0.56 GB, free: 2.621 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.087e-05/0.138, allocations: 15.92 kB / 0.56 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.784e-05/0.1381, allocations: 31.8 kB / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1383, allocations: 103.5 kB / 0.5601 GB, free: 2.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1383, allocations: 4 kB / 0.5601 GB, free: 2.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1383, allocations: 7.938 kB / 0.5601 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1383, allocations: 0 / 0.5601 GB, free: 2.461 MB / 414.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.0006317/0.139, allocations: 414.7 kB / 0.5605 GB, free: 2.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.139, allocations: 8.031 kB / 0.5606 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.1391, allocations: 12.84 kB / 0.5606 GB, free: 1.988 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.1394, allocations: 208.9 kB / 0.5608 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1394, allocations: 4.375 kB / 0.5608 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.1394, allocations: 8.359 kB / 0.5608 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1396, allocations: 53.94 kB / 0.5608 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1396, allocations: 0 / 0.5608 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1396, allocations: 4 kB / 0.5608 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1396, allocations: 0 / 0.5608 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.1397, allocations: 15.98 kB / 0.5608 GB, free: 1.656 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.1399, allocations: 181.6 kB / 0.561 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.1401, allocations: 50.61 kB / 0.5611 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.1401, allocations: 24.84 kB / 0.5611 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1401, allocations: 0 / 0.5611 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.1403, allocations: 71.27 kB / 0.5612 GB, free: 1.262 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1403, allocations: 0 / 0.5612 GB, free: 1.262 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003027/0.1406, allocations: 93.81 kB / 0.5612 GB, free: 1.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.1407, allocations: 51.41 kB / 0.5613 GB, free: 1.102 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.1409, allocations: 194.4 kB / 0.5615 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.1409, allocations: 37.64 kB / 0.5615 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.141, allocations: 100.1 kB / 0.5616 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.141, allocations: 7.906 kB / 0.5616 GB, free: 0.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.141, allocations: 25.66 kB / 0.5616 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1412, allocations: 326.8 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.934e-05/0.1413, allocations: 15.98 kB / 0.562 GB, free: 384 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1413, allocations: 37.75 kB / 0.562 GB, free: 340 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.1414, allocations: 37.72 kB / 0.562 GB, free: 296 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1414, allocations: 0 / 0.562 GB, free: 296 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001686/0.1416, allocations: 93.45 kB / 0.5621 GB, free: 196 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1416, allocations: 4 kB / 0.5621 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1416, allocations: 0 / 0.5621 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1416, allocations: 4 kB / 0.5621 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.1417, allocations: 8 kB / 0.5622 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1417, allocations: 4.031 kB / 0.5622 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.856e-05/0.1418, allocations: 7.984 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.1418, allocations: 4 kB / 0.5622 GB, free: 164 kB / 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 (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.0001113/0.1419, allocations: 131.5 kB / 0.5623 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.1419, allocations: 11.89 kB / 0.5623 GB, free: 12 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.142, allocations: 20.97 kB / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.142, allocations: 0 / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.142, allocations: 0 / 0.5623 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.142, allocations: 3.938 kB / 0.5623 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.1421, allocations: 189.6 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.1421, allocations: 3.984 kB / 0.5625 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-05/0.1422, allocations: 7.938 kB / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1422, allocations: 0 / 0.5625 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1422, allocations: 4 kB / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1422, allocations: 0 / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1422, allocations: 0 / 0.5625 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.1424, allocations: 109.1 kB / 0.5626 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.1424, allocations: 93 kB / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1425, allocations: 0 / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.1425, allocations: 3.938 kB / 0.5627 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.1425, allocations: 7.984 kB / 0.5627 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1425, allocations: 4 kB / 0.5627 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1427, allocations: 156.2 kB / 0.5629 GB, free: 15.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1427, allocations: 0 / 0.5629 GB, free: 15.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.1429, allocations: 16 kB / 0.5629 GB, free: 15.32 MB / 430.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.001522/0.1444, allocations: 399.6 kB / 0.5633 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.1446, allocations: 43.98 kB / 0.5633 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1446, allocations: 0 / 0.5633 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.383e-05/0.1447, allocations: 19.92 kB / 0.5633 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.145, allocations: 26.83 kB / 0.5634 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.1455, allocations: 243.6 kB / 0.5636 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1458, allocations: 0.7041 MB / 0.5643 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.1459, allocations: 11.44 kB / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1459, allocations: 0 / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of Templates: time 0.004005/0.1499, allocations: 1.743 MB / 0.566 GB, free: 12.23 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.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: 7.725708608981222]