Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.001395/0.001395, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001503/0.001503, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2384/0.2384, allocations: 46.89 MB / 357.4 MB, free: 10.48 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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 87.8 kB / 0.4913 GB, free: 8.227 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1324, allocations: 66 MB / 0.5558 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003374/0.1357, allocations: 1.75 MB / 0.5575 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1377, allocations: 1.032 MB / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.762e-05/0.1378, allocations: 7.938 kB / 0.5585 GB, free: 3.281 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003996/0.1382, allocations: 111.6 kB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.1386, allocations: 123.5 kB / 0.5587 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.1388, allocations: 75.67 kB / 0.5588 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.139, allocations: 131.7 kB / 0.5589 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1391, allocations: 23.97 kB / 0.559 GB, free: 2.824 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.1392, allocations: 55.77 kB / 0.559 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.1393, allocations: 83.66 kB / 0.5591 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.1394, allocations: 4 kB / 0.5591 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1395, allocations: 59.98 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.1396, allocations: 27.91 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.1396, allocations: 47.61 kB / 0.5592 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.1399, allocations: 155.3 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1399, allocations: 0 / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1399, allocations: 7.938 kB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1399, allocations: 4 kB / 0.5594 GB, free: 2.387 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006936/0.1406, allocations: 466.3 kB / 0.5598 GB, free: 1.883 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1406, allocations: 8.031 kB / 0.5598 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.1407, allocations: 30.75 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1407, allocations: 16.84 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1411, allocations: 225 kB / 0.5601 GB, free: 1.559 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.1411, allocations: 12.31 kB / 0.5601 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.1411, allocations: 4.375 kB / 0.5601 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1413, allocations: 77.72 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1413, allocations: 3.984 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1413, allocations: 0 / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1413, allocations: 4 kB / 0.5602 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.1414, allocations: 31.97 kB / 0.5602 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004675/0.1419, allocations: 324.7 kB / 0.5605 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1422, allocations: 66.55 kB / 0.5606 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.194e-05/0.1423, allocations: 28.84 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.1423, allocations: 0 / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1425, allocations: 75.42 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.894e-06/0.1425, allocations: 3.938 kB / 0.5607 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008975/0.1434, allocations: 281.8 kB / 0.561 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.1434, allocations: 55.39 kB / 0.561 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.1437, allocations: 255.7 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.1438, allocations: 29.69 kB / 0.5613 GB, free: 220 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.1438, allocations: 116.1 kB / 0.5614 GB, free: 100 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.1439, allocations: 35.69 kB / 0.5615 GB, free: 64 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.144, allocations: 29.72 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1441, allocations: 330.8 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.195e-05/0.1442, allocations: 31.98 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1443, allocations: 57.7 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1445, allocations: 93.69 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1445, allocations: 3.938 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002442/0.1447, allocations: 133.6 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1448, allocations: 6.344 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1448, allocations: 4.266 kB / 0.5621 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1448, allocations: 4 kB / 0.5621 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.847e-05/0.1449, allocations: 27.92 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.1449, allocations: 7.984 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.804e-05/0.1449, allocations: 7.891 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1449, allocations: 4 kB / 0.5622 GB, free: 15.3 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 (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.0001209/0.1451, allocations: 137.8 kB / 0.5623 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.1451, allocations: 15.91 kB / 0.5623 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.1452, allocations: 21.39 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.1452, allocations: 11.94 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1452, allocations: 0 / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1452, allocations: 3.938 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006056/0.1458, allocations: 472.1 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1458, allocations: 4 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.561e-05/0.1458, allocations: 27.8 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1458, allocations: 0 / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1459, allocations: 8.062 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1459, allocations: 0 / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1459, allocations: 4 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003174/0.1462, allocations: 245 kB / 0.5631 GB, free: 14.28 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.767e-05/0.1463, allocations: 96.95 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.1463, allocations: 7.938 kB / 0.5632 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1464, allocations: 7.984 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.1464, allocations: 12 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-05/0.1464, allocations: 7.984 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1466, allocations: 197.5 kB / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1466, allocations: 0 / 0.5634 GB, free: 13.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1469, allocations: 27.94 kB / 0.5634 GB, free: 13.91 MB / 430.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 (12): * Single equations (assignments): 10 * 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.00249/0.1494, allocations: 1.188 MB / 0.5646 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.1496, allocations: 83.91 kB / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1496, allocations: 0 / 0.5647 GB, free: 12.81 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.1497, allocations: 43.98 kB / 0.5647 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1501, allocations: 35.38 kB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/0.1524, allocations: 1.95 MB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1528, allocations: 0.7279 MB / 0.5673 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.426e-05/0.1529, allocations: 32.98 kB / 0.5674 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.338e-05/0.153, allocations: 51.42 kB / 0.5674 GB, free: 9.848 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.153, allocations: 0 / 0.5674 GB, free: 9.848 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.1796, allocations: 4.212 MB / 0.5715 GB, free: 5.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.039/8.219, allocations: 12 kB / 0.5715 GB, free: 5.68 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.299053949303925]