Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.001679/0.001679, allocations: 116.4 kB / 18.5 MB, free: 4.602 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.002027/0.002027, allocations: 208.9 kB / 21.46 MB, free: 1.648 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.57/1.57, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2467/0.2467, allocations: 46.9 MB / 357.4 MB, free: 10.47 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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 91.83 kB / 0.4913 GB, free: 8.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1293, allocations: 65.99 MB / 0.5558 GB, free: 6.117 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00308/0.1324, allocations: 1.729 MB / 0.5575 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.1341, allocations: 1.049 MB / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.033e-05/0.1342, allocations: 0 / 0.5585 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1345, allocations: 47.77 kB / 0.5585 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1348, allocations: 103.6 kB / 0.5586 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1349, allocations: 79.67 kB / 0.5587 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1351, allocations: 99.69 kB / 0.5588 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.609e-05/0.1352, allocations: 12 kB / 0.5588 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.867e-05/0.1353, allocations: 47.77 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.1354, allocations: 31.8 kB / 0.5589 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1354, allocations: 4 kB / 0.5589 GB, free: 2.898 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-05/0.1355, allocations: 47.97 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1355, allocations: 31.84 kB / 0.559 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.1356, allocations: 31.75 kB / 0.559 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1358, allocations: 131.4 kB / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1358, allocations: 0 / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1358, allocations: 0 / 0.5591 GB, free: 2.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1358, allocations: 0 / 0.5591 GB, free: 2.66 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.00059/0.1364, allocations: 442.4 kB / 0.5596 GB, free: 2.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1364, allocations: 15.97 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.1365, allocations: 30.75 kB / 0.5596 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.1365, allocations: 12.89 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1368, allocations: 224.8 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1368, allocations: 4.375 kB / 0.5598 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1369, allocations: 4.375 kB / 0.5598 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.137, allocations: 57.8 kB / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.137, allocations: 0 / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.137, allocations: 0 / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.137, allocations: 0 / 0.5599 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.574e-05/0.1371, allocations: 23.92 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.1375, allocations: 296.8 kB / 0.5602 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.1377, allocations: 54.69 kB / 0.5602 GB, free: 1.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.1377, allocations: 20.84 kB / 0.5603 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.1377, allocations: 3.938 kB / 0.5603 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1379, allocations: 63.39 kB / 0.5603 GB, free: 1.254 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.1379, allocations: 4 kB / 0.5603 GB, free: 1.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.1385, allocations: 185.3 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1385, allocations: 51.41 kB / 0.5606 GB, free: 1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.1388, allocations: 242 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1388, allocations: 25.7 kB / 0.5608 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.1389, allocations: 108.1 kB / 0.5609 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.1389, allocations: 23.84 kB / 0.5609 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.139, allocations: 25.72 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.1391, allocations: 330.8 kB / 0.5613 GB, free: 232 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/0.1392, allocations: 23.98 kB / 0.5613 GB, free: 208 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/0.1392, allocations: 33.7 kB / 0.5613 GB, free: 168 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1394, allocations: 61.64 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1394, allocations: 0 / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002118/0.1396, allocations: 109.6 kB / 0.5615 GB, free: 15.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1396, allocations: 8 kB / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1396, allocations: 0 / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1396, allocations: 384 / 0.5615 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.1397, allocations: 15.94 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1397, allocations: 4 kB / 0.5615 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.743e-05/0.1398, allocations: 4 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1398, allocations: 8.188 kB / 0.5615 GB, free: 15.95 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.0001205/0.1399, allocations: 137.7 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1399, allocations: 23.88 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.14, allocations: 21.39 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.14, allocations: 4 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.14, allocations: 0 / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.14, allocations: 0 / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000482/0.1405, allocations: 399.4 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1405, allocations: 0 / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.36e-05/0.1405, allocations: 11.94 kB / 0.5621 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.1405, allocations: 8.031 kB / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.1405, allocations: 0 / 0.5621 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1405, allocations: 3.938 kB / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1405, allocations: 0 / 0.5621 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.1408, allocations: 212.3 kB / 0.5623 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1409, allocations: 89.02 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.1409, allocations: 4 kB / 0.5624 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.358e-05/0.141, allocations: 11.94 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.141, allocations: 7.922 kB / 0.5624 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.141, allocations: 4 kB / 0.5624 GB, free: 14.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1412, allocations: 180.4 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1412, allocations: 0 / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1414, allocations: 23.94 kB / 0.5626 GB, free: 14.71 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.00215/0.1436, allocations: 1.088 MB / 0.5637 GB, free: 13.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001908/0.1438, allocations: 63.84 kB / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1438, allocations: 0 / 0.5638 GB, free: 13.71 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.1439, allocations: 31.92 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.1442, allocations: 27.73 kB / 0.5638 GB, free: 13.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.1463, allocations: 1.758 MB / 0.5655 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1466, allocations: 0.7119 MB / 0.5662 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.284e-05/0.1467, allocations: 16.88 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.1468, allocations: 39.42 kB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1468, allocations: 0 / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.1721, allocations: 3.642 MB / 0.5698 GB, free: 7.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.244, allocations: 5.906 kB / 0.5698 GB, free: 7.422 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.516334482003003]