Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001528/0.001528, allocations: 112.9 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.001678/0.001678, allocations: 210.5 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.505/1.505, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.89 MB / 358.1 MB, free: 10.5 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") [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.002225/0.002225, allocations: 83.88 kB / 0.4924 GB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1303, allocations: 65.98 MB / 0.5569 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003493/0.1338, allocations: 1.74 MB / 0.5586 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1356, allocations: 1.042 MB / 0.5596 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.1357, allocations: 0 / 0.5596 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.136, allocations: 55.75 kB / 0.5597 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.1363, allocations: 95.61 kB / 0.5597 GB, free: 2.883 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.1365, allocations: 83.66 kB / 0.5598 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.1367, allocations: 99.69 kB / 0.5599 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.1368, allocations: 15.98 kB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.1369, allocations: 43.78 kB / 0.56 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.16e-05/0.137, allocations: 31.8 kB / 0.56 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.137, allocations: 4 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1371, allocations: 47.97 kB / 0.5601 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.748e-05/0.1372, allocations: 35.84 kB / 0.5601 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.1372, allocations: 39.69 kB / 0.5601 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.1375, allocations: 143.3 kB / 0.5603 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1375, allocations: 0 / 0.5603 GB, free: 2.348 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1375, allocations: 0 / 0.5603 GB, free: 2.348 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1375, allocations: 3.938 kB / 0.5603 GB, free: 2.344 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006439/0.1381, allocations: 458.4 kB / 0.5607 GB, free: 1.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1382, allocations: 8.031 kB / 0.5607 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.1382, allocations: 16.84 kB / 0.5607 GB, free: 1.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1386, allocations: 231.8 kB / 0.5609 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1386, allocations: 4.375 kB / 0.561 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1386, allocations: 4.375 kB / 0.561 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1388, allocations: 57.98 kB / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1388, allocations: 0 / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1388, allocations: 0 / 0.561 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1388, allocations: 3.938 kB / 0.561 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.208e-05/0.1389, allocations: 19.98 kB / 0.561 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.1393, allocations: 300.9 kB / 0.5613 GB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1395, allocations: 62.66 kB / 0.5614 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1395, allocations: 20.8 kB / 0.5614 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1396, allocations: 3.938 kB / 0.5614 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.1397, allocations: 71.38 kB / 0.5615 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1397, allocations: 7.938 kB / 0.5615 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005868/0.1403, allocations: 181.3 kB / 0.5617 GB, free: 0.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.1404, allocations: 51.41 kB / 0.5617 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.1407, allocations: 284.2 kB / 0.562 GB, free: 408 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.1407, allocations: 29.7 kB / 0.562 GB, free: 372 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.818e-05/0.1408, allocations: 112.1 kB / 0.5621 GB, free: 256 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1408, allocations: 27.78 kB / 0.5621 GB, free: 228 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1409, allocations: 21.72 kB / 0.5622 GB, free: 200 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.141, allocations: 338.8 kB / 0.5625 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.1411, allocations: 16 kB / 0.5625 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.1412, allocations: 41.7 kB / 0.5625 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1413, allocations: 61.62 kB / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1413, allocations: 0 / 0.5626 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001996/0.1415, allocations: 113.5 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1415, allocations: 4 kB / 0.5627 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1415, allocations: 4 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1415, allocations: 3.984 kB / 0.5627 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.093e-05/0.1416, allocations: 12 kB / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1416, allocations: 0 / 0.5627 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.1417, allocations: 4 kB / 0.5627 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1417, allocations: 4 kB / 0.5627 GB, free: 15.58 MB / 430.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.000129/0.1418, allocations: 141.8 kB / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1419, allocations: 19.94 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.377e-05/0.1419, allocations: 21.41 kB / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1419, allocations: 0 / 0.5629 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1419, allocations: 3.938 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1419, allocations: 3.984 kB / 0.5629 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1424, allocations: 407.3 kB / 0.5633 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1424, allocations: 0 / 0.5633 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1425, allocations: 12.31 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1425, allocations: 4.031 kB / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1425, allocations: 0 / 0.5633 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.1425, allocations: 11.94 kB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1425, allocations: 3.938 kB / 0.5633 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.1428, allocations: 200.3 kB / 0.5635 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.1428, allocations: 93 kB / 0.5636 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.1429, allocations: 4.188 kB / 0.5636 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1429, allocations: 7.938 kB / 0.5636 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.143, allocations: 19.86 kB / 0.5636 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.143, allocations: 4 kB / 0.5636 GB, free: 14.53 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.1432, allocations: 216.6 kB / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1432, allocations: 0 / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1435, allocations: 27.89 kB / 0.5639 GB, free: 14.29 MB / 430.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.001665/0.1451, allocations: 462 kB / 0.5643 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1454, allocations: 59.89 kB / 0.5644 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1454, allocations: 0 / 0.5644 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.141e-05/0.1454, allocations: 31.92 kB / 0.5644 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1458, allocations: 38.17 kB / 0.5644 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006101/0.1464, allocations: 337.2 kB / 0.5648 GB, free: 13.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1468, allocations: 0.7119 MB / 0.5655 GB, free: 12.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.1468, allocations: 23.42 kB / 0.5655 GB, free: 12.77 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1468, allocations: 4 kB / 0.5655 GB, free: 12.76 MB / 430.1 MB Notification: Performance of Templates: time 0.0044/0.1512, allocations: 2.137 MB / 0.5676 GB, free: 10.62 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.89348183805123]