Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.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.001683/0.001683, allocations: 118.8 kB / 19.18 MB, free: 3.762 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.00212/0.00212, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.483/1.483, 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.2261/0.2261, 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63") [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.002429/0.002429, allocations: 83.88 kB / 0.4924 GB, free: 8.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1316, allocations: 65.99 MB / 0.5569 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.003652/0.1353, allocations: 1.69 MB / 0.5585 GB, free: 4.238 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1372, allocations: 1.022 MB / 0.5595 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1373, allocations: 0 / 0.5595 GB, free: 3.211 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.1376, allocations: 51.75 kB / 0.5596 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.138, allocations: 107.5 kB / 0.5597 GB, free: 3.055 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1383, allocations: 75.67 kB / 0.5597 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1385, allocations: 95.69 kB / 0.5598 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.447e-05/0.1386, allocations: 8.219 kB / 0.5598 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1387, allocations: 39.8 kB / 0.5599 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.1388, allocations: 31.8 kB / 0.5599 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.1388, allocations: 4 kB / 0.5599 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1389, allocations: 35.97 kB / 0.56 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.139, allocations: 19.92 kB / 0.56 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.1391, allocations: 47.67 kB / 0.56 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1393, allocations: 123.4 kB / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1393, allocations: 0 / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1393, allocations: 0 / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1393, allocations: 0 / 0.5601 GB, free: 2.582 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.0006609/0.14, allocations: 446.5 kB / 0.5606 GB, free: 2.098 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.14, allocations: 8.031 kB / 0.5606 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.1401, allocations: 12.89 kB / 0.5606 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1405, allocations: 224.9 kB / 0.5608 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.1405, allocations: 8.375 kB / 0.5608 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.1405, allocations: 384 / 0.5608 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.1407, allocations: 57.98 kB / 0.5609 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1407, allocations: 3.938 kB / 0.5609 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1407, allocations: 4 kB / 0.5609 GB, free: 1.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1407, allocations: 3.984 kB / 0.5609 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.1408, allocations: 15.98 kB / 0.5609 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.141, allocations: 189.7 kB / 0.5611 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1412, allocations: 50.62 kB / 0.5611 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.1413, allocations: 20.84 kB / 0.5611 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.1413, allocations: 0 / 0.5611 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1415, allocations: 71.27 kB / 0.5612 GB, free: 1.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1415, allocations: 0 / 0.5612 GB, free: 1.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003404/0.1418, allocations: 101.6 kB / 0.5613 GB, free: 1.215 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1419, allocations: 55.39 kB / 0.5614 GB, free: 1.148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.1422, allocations: 270.8 kB / 0.5616 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.1422, allocations: 25.7 kB / 0.5616 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.1423, allocations: 116.1 kB / 0.5617 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.1423, allocations: 11.89 kB / 0.5618 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.1424, allocations: 21.72 kB / 0.5618 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.1426, allocations: 330.8 kB / 0.5621 GB, free: 360 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.75e-05/0.1426, allocations: 19.94 kB / 0.5621 GB, free: 340 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.186e-05/0.1427, allocations: 25.7 kB / 0.5621 GB, free: 308 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1428, allocations: 45.7 kB / 0.5622 GB, free: 256 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1428, allocations: 0 / 0.5622 GB, free: 256 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001814/0.143, allocations: 89.47 kB / 0.5623 GB, free: 160 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.143, allocations: 4 kB / 0.5623 GB, free: 156 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.143, allocations: 4.031 kB / 0.5623 GB, free: 152 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.143, allocations: 4 kB / 0.5623 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.1431, allocations: 15.92 kB / 0.5623 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1431, allocations: 0 / 0.5623 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.1432, allocations: 11.95 kB / 0.5623 GB, free: 120 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.1432, allocations: 0 / 0.5623 GB, free: 120 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.0001371/0.1433, allocations: 133.8 kB / 0.5624 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1433, allocations: 23.78 kB / 0.5625 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.067e-05/0.1434, allocations: 25.3 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1434, allocations: 4 kB / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.1434, allocations: 0 / 0.5625 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.1434, allocations: 4 kB / 0.5625 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.1436, allocations: 189.6 kB / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1436, allocations: 0 / 0.5627 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/0.1436, allocations: 11.88 kB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1436, allocations: 0 / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1436, allocations: 8 kB / 0.5627 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1436, allocations: 0 / 0.5627 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1436, allocations: 3.984 kB / 0.5627 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.1438, allocations: 105 kB / 0.5628 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.1439, allocations: 96.94 kB / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1439, allocations: 0 / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.144, allocations: 8 kB / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.902e-05/0.144, allocations: 0 / 0.5629 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.144, allocations: 11.92 kB / 0.5629 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.1442, allocations: 200.6 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1442, allocations: 4 kB / 0.5631 GB, free: 15.21 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1444, allocations: 16 kB / 0.5631 GB, free: 15.2 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.001586/0.146, allocations: 414.5 kB / 0.5635 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.1462, allocations: 47.97 kB / 0.5636 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1462, allocations: 0 / 0.5636 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.163e-05/0.1463, allocations: 11.94 kB / 0.5636 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1466, allocations: 41.72 kB / 0.5636 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.1473, allocations: 304.1 kB / 0.5639 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.1476, allocations: 0.7158 MB / 0.5646 GB, free: 13.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.1477, allocations: 11.44 kB / 0.5646 GB, free: 13.75 MB / 430.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1477, allocations: 0 / 0.5646 GB, free: 13.75 MB / 430.1 MB Notification: Performance of Templates: time 0.00448/0.1522, allocations: 1.89 MB / 0.5664 GB, free: 11.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.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.819837999995798]