Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.001848/0.001848, allocations: 112.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.002605/0.002605, 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.487/1.487, allocations: 230.2 MB / 255.2 MB, free: 15.41 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.2284/0.2284, allocations: 46.89 MB / 358.1 MB, free: 10.52 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76") [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.002222/0.002222, allocations: 82.33 kB / 0.4925 GB, free: 26.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1232, allocations: 65.99 MB / 0.5569 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003275/0.1265, allocations: 1.75 MB / 0.5586 GB, free: 6.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.1283, allocations: 1.04 MB / 0.5596 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.1284, allocations: 0 / 0.5596 GB, free: 5.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.1287, allocations: 55.73 kB / 0.5597 GB, free: 5.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.129, allocations: 103.5 kB / 0.5598 GB, free: 5.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.1292, allocations: 75.67 kB / 0.5598 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1295, allocations: 131.7 kB / 0.56 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1296, allocations: 15.97 kB / 0.56 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1297, allocations: 55.78 kB / 0.56 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1298, allocations: 47.77 kB / 0.5601 GB, free: 5.254 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.1298, allocations: 8 kB / 0.5601 GB, free: 5.246 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.1299, allocations: 67.95 kB / 0.5602 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.284e-05/0.13, allocations: 27.86 kB / 0.5602 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.358e-05/0.1301, allocations: 43.73 kB / 0.5602 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1303, allocations: 147.3 kB / 0.5604 GB, free: 4.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1303, allocations: 0 / 0.5604 GB, free: 4.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1303, allocations: 0 / 0.5604 GB, free: 4.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.1303, allocations: 7.938 kB / 0.5604 GB, free: 4.957 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006104/0.1309, allocations: 438.6 kB / 0.5608 GB, free: 4.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.131, allocations: 12.03 kB / 0.5608 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.131, allocations: 12.84 kB / 0.5608 GB, free: 4.457 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000358/0.1314, allocations: 236 kB / 0.561 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1314, allocations: 8.375 kB / 0.561 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.1314, allocations: 8.344 kB / 0.5611 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1316, allocations: 81.97 kB / 0.5611 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1316, allocations: 0 / 0.5611 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1316, allocations: 0 / 0.5611 GB, free: 4.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1317, allocations: 3.938 kB / 0.5611 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1318, allocations: 43.97 kB / 0.5612 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004429/0.1322, allocations: 320.7 kB / 0.5615 GB, free: 3.676 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1325, allocations: 82.56 kB / 0.5616 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/0.1326, allocations: 32.84 kB / 0.5616 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1326, allocations: 0 / 0.5616 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1328, allocations: 83.31 kB / 0.5617 GB, free: 3.457 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1328, allocations: 0 / 0.5617 GB, free: 3.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.000904/0.1337, allocations: 297.3 kB / 0.562 GB, free: 3.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.1337, allocations: 63.41 kB / 0.562 GB, free: 3.086 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.134, allocations: 198 kB / 0.5622 GB, free: 2.883 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.134, allocations: 25.7 kB / 0.5622 GB, free: 2.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.1341, allocations: 108.4 kB / 0.5623 GB, free: 2.742 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/0.1341, allocations: 43.64 kB / 0.5624 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.465e-05/0.1342, allocations: 29.72 kB / 0.5624 GB, free: 2.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1343, allocations: 326.8 kB / 0.5627 GB, free: 2.336 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.154e-05/0.1344, allocations: 39.98 kB / 0.5628 GB, free: 2.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1345, allocations: 57.69 kB / 0.5628 GB, free: 2.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1347, allocations: 101.3 kB / 0.5629 GB, free: 2.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1347, allocations: 0 / 0.5629 GB, free: 2.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000281/0.135, allocations: 157.5 kB / 0.5631 GB, free: 1.973 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.135, allocations: 4 kB / 0.5631 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.135, allocations: 0 / 0.5631 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.135, allocations: 4 kB / 0.5631 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.1351, allocations: 28.02 kB / 0.5631 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1351, allocations: 0 / 0.5631 GB, free: 1.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.1352, allocations: 15.92 kB / 0.5631 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1352, allocations: 4 kB / 0.5631 GB, free: 1.918 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 (15): * Single equations (assignments): 15 * 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.0001199/0.1353, allocations: 128.2 kB / 0.5632 GB, free: 1.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.1353, allocations: 19.89 kB / 0.5632 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.1354, allocations: 21.53 kB / 0.5633 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1354, allocations: 0 / 0.5633 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1354, allocations: 4 kB / 0.5633 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1354, allocations: 3.938 kB / 0.5633 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.136, allocations: 488 kB / 0.5637 GB, free: 1.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.136, allocations: 8 kB / 0.5638 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.1361, allocations: 15.94 kB / 0.5638 GB, free: 1.172 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1361, allocations: 15.86 kB / 0.5638 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.1361, allocations: 4 kB / 0.5638 GB, free: 1.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1361, allocations: 4 kB / 0.5638 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1361, allocations: 4.062 kB / 0.5638 GB, free: 1.145 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1364, allocations: 241.2 kB / 0.564 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.185e-05/0.1365, allocations: 96.95 kB / 0.5641 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1366, allocations: 4 kB / 0.5641 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.1366, allocations: 3.984 kB / 0.5641 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.1367, allocations: 19.94 kB / 0.5641 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.1367, allocations: 11.97 kB / 0.5642 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.1369, allocations: 152.8 kB / 0.5643 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1369, allocations: 0 / 0.5643 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.1372, allocations: 31.88 kB / 0.5643 GB, free: 0.5547 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001997/0.1392, allocations: 0.4976 MB / 0.5648 GB, free: 256 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002916/0.1395, allocations: 95.91 kB / 0.5649 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1395, allocations: 0 / 0.5649 GB, free: 160 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1396, allocations: 43.86 kB / 0.5649 GB, free: 116 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.14, allocations: 49.23 kB / 0.565 GB, free: 72 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.1407, allocations: 314 kB / 0.5653 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.141, allocations: 0.7164 MB / 0.566 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.785e-05/0.1411, allocations: 23.44 kB / 0.566 GB, free: 14.95 MB / 430.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1411, allocations: 0 / 0.566 GB, free: 14.95 MB / 430.1 MB Notification: Performance of Templates: time 0.004808/0.1459, allocations: 2.405 MB / 0.5684 GB, free: 12.56 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test76.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.904654250014573]