Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001402/0.001402, allocations: 120.1 kB / 18.5 MB, free: 4.535 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.001533/0.001533, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.474/1.474, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.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.2181/0.2181, allocations: 46.92 MB / 357.7 MB, free: 10.16 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 79.88 kB / 0.4917 GB, free: 7.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.129, allocations: 66.04 MB / 0.5562 GB, free: 5.418 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00353/0.1325, allocations: 1.95 MB / 0.5581 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1344, allocations: 1.067 MB / 0.5592 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1345, allocations: 3.938 kB / 0.5592 GB, free: 2.371 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.1348, allocations: 47.7 kB / 0.5592 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003236/0.1351, allocations: 103.5 kB / 0.5593 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.1354, allocations: 87.7 kB / 0.5594 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.1356, allocations: 159.5 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1357, allocations: 17.56 kB / 0.5596 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1358, allocations: 59.7 kB / 0.5596 GB, free: 1.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.1359, allocations: 51.7 kB / 0.5597 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.136, allocations: 8 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.1361, allocations: 47.92 kB / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.1361, allocations: 31.84 kB / 0.5598 GB, free: 1.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.1362, allocations: 51.67 kB / 0.5598 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002736/0.1365, allocations: 147.3 kB / 0.5599 GB, free: 1.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1365, allocations: 4 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1365, allocations: 0 / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.1365, allocations: 4 kB / 0.56 GB, free: 1.562 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007177/0.1372, allocations: 496.1 kB / 0.5604 GB, free: 1.023 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.1373, allocations: 8.031 kB / 0.5604 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.459e-05/0.1373, allocations: 4.188 kB / 0.5604 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.492e-05/0.1373, allocations: 34.75 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.1374, allocations: 16.84 kB / 0.5605 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.1377, allocations: 245.4 kB / 0.5607 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.1378, allocations: 4.375 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.1378, allocations: 12.31 kB / 0.5607 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.138, allocations: 108.1 kB / 0.5608 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.1381, allocations: 0 / 0.5608 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.1381, allocations: 8 kB / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.1381, allocations: 0 / 0.5608 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.1382, allocations: 51.91 kB / 0.5609 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/0.1389, allocations: 0.4971 MB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003637/0.1393, allocations: 86.59 kB / 0.5615 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.1394, allocations: 32.84 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1394, allocations: 4 kB / 0.5615 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002183/0.1396, allocations: 83.31 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.1396, allocations: 3.938 kB / 0.5616 GB, free: 15.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004983/0.1401, allocations: 153.5 kB / 0.5617 GB, free: 15.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.1402, allocations: 55.34 kB / 0.5618 GB, free: 15.47 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1404, allocations: 202.2 kB / 0.562 GB, free: 15.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1404, allocations: 25.7 kB / 0.562 GB, free: 15.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.1405, allocations: 116.1 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.249e-05/0.1405, allocations: 35.72 kB / 0.5621 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-05/0.1406, allocations: 29.7 kB / 0.5622 GB, free: 15.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1407, allocations: 326.8 kB / 0.5625 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.1408, allocations: 27.98 kB / 0.5625 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.1409, allocations: 76.39 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1411, allocations: 92.22 kB / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1411, allocations: 0 / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.1414, allocations: 141.4 kB / 0.5628 GB, free: 14.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.1414, allocations: 8 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1414, allocations: 128 / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1415, allocations: 4 kB / 0.5628 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.1416, allocations: 24.45 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1416, allocations: 3.938 kB / 0.5628 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.87e-05/0.1416, allocations: 15.94 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.1416, allocations: 8 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001236/0.1418, allocations: 129.7 kB / 0.563 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.1418, allocations: 19.84 kB / 0.563 GB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.156e-05/0.1419, allocations: 21.33 kB / 0.563 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1419, allocations: 4 kB / 0.563 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.1419, allocations: 3.938 kB / 0.563 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1419, allocations: 0 / 0.563 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.1421, allocations: 213.6 kB / 0.5632 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1421, allocations: 3.984 kB / 0.5632 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.396e-05/0.1421, allocations: 8 kB / 0.5633 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1421, allocations: 0 / 0.5633 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.1422, allocations: 8 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1422, allocations: 0 / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1422, allocations: 3.938 kB / 0.5633 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003935/0.1426, allocations: 184.9 kB / 0.5634 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.819e-05/0.1426, allocations: 89.05 kB / 0.5635 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.1426, allocations: 0 / 0.5635 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.351e-05/0.1427, allocations: 7.984 kB / 0.5635 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.1427, allocations: 15.88 kB / 0.5636 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1428, allocations: 4 kB / 0.5636 GB, free: 13.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.1429, allocations: 148.5 kB / 0.5637 GB, free: 13.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 0 / 0.5637 GB, free: 13.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1431, allocations: 31.92 kB / 0.5637 GB, free: 13.31 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002065/0.1452, allocations: 1.022 MB / 0.5647 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1455, allocations: 75.89 kB / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1455, allocations: 0 / 0.5648 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.1456, allocations: 35.92 kB / 0.5648 GB, free: 12.29 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.1459, allocations: 42.16 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.1481, allocations: 1.768 MB / 0.5666 GB, free: 10.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003588/0.1485, allocations: 0.7162 MB / 0.5673 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.142e-05/0.1485, allocations: 17.41 kB / 0.5673 GB, free: 9.621 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.1486, allocations: 47.8 kB / 0.5674 GB, free: 9.574 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1486, allocations: 0 / 0.5674 GB, free: 9.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02107/0.1697, allocations: 3.878 MB / 0.5711 GB, free: 5.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.284, allocations: 6.453 kB / 0.5712 GB, free: 5.762 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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: 11.37207015795866]