Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.00154/0.00154, allocations: 118.3 kB / 18.49 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.001862/0.001862, 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.427/1.427, 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.2222/0.2222, 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.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 79.88 kB / 0.4918 GB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.141, allocations: 66.04 MB / 0.5562 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003482/0.1445, allocations: 1.933 MB / 0.5581 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.1466, allocations: 1.138 MB / 0.5592 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.1467, allocations: 3.938 kB / 0.5593 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.1472, allocations: 255.4 kB / 0.5595 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.1477, allocations: 235.1 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1479, allocations: 115.7 kB / 0.5598 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.1483, allocations: 275.2 kB / 0.5601 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1484, allocations: 17.69 kB / 0.5601 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.1486, allocations: 147.5 kB / 0.5602 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.1488, allocations: 207.3 kB / 0.5604 GB, free: 1.059 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1488, allocations: 11.94 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.149, allocations: 67.97 kB / 0.5605 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1491, allocations: 63.75 kB / 0.5606 GB, free: 0.918 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1492, allocations: 99.17 kB / 0.5607 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1495, allocations: 250.8 kB / 0.5609 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1495, allocations: 4 kB / 0.5609 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1495, allocations: 0 / 0.5609 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1496, allocations: 0 / 0.5609 GB, free: 0.5703 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008526/0.1504, allocations: 0.5989 MB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1504, allocations: 8.031 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.614e-05/0.1505, allocations: 4.188 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.1505, allocations: 38.69 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.156e-05/0.1506, allocations: 32.75 kB / 0.5616 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.151, allocations: 298.7 kB / 0.5619 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.151, allocations: 8.375 kB / 0.5619 GB, free: 15.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.151, allocations: 8.359 kB / 0.5619 GB, free: 15.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002441/0.1513, allocations: 120.9 kB / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1513, allocations: 0 / 0.562 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1513, allocations: 4 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1513, allocations: 0 / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1514, allocations: 47.97 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.152, allocations: 488.8 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.1524, allocations: 113.2 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.1525, allocations: 45.83 kB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1526, allocations: 12 kB / 0.5627 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002355/0.1528, allocations: 121 kB / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.272e-06/0.1528, allocations: 0 / 0.5628 GB, free: 14.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001362/0.1542, allocations: 0.517 MB / 0.5633 GB, free: 13.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.1542, allocations: 81.11 kB / 0.5634 GB, free: 13.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/0.1548, allocations: 497.6 kB / 0.5639 GB, free: 13.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1548, allocations: 33.7 kB / 0.5639 GB, free: 13.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.1549, allocations: 172.4 kB / 0.564 GB, free: 13.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/0.155, allocations: 71.44 kB / 0.5641 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.1551, allocations: 45.7 kB / 0.5642 GB, free: 12.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1553, allocations: 354.7 kB / 0.5645 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.1554, allocations: 55.97 kB / 0.5646 GB, free: 12.58 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.1556, allocations: 91.34 kB / 0.5646 GB, free: 12.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.1558, allocations: 159.3 kB / 0.5648 GB, free: 12.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1558, allocations: 0 / 0.5648 GB, free: 12.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004233/0.1563, allocations: 237.2 kB / 0.565 GB, free: 12.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1563, allocations: 7.938 kB / 0.565 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1563, allocations: 4 kB / 0.565 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1563, allocations: 3.938 kB / 0.565 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.1565, allocations: 43.97 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.1565, allocations: 8 kB / 0.5651 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.992e-05/0.1565, allocations: 8 kB / 0.5651 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1566, allocations: 12 kB / 0.5651 GB, free: 11.99 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001766/0.1567, allocations: 165.8 kB / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.1568, allocations: 43.69 kB / 0.5653 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.1569, allocations: 42.89 kB / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1569, allocations: 0 / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1569, allocations: 4 kB / 0.5653 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1569, allocations: 4 kB / 0.5653 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1579, allocations: 0.7428 MB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1579, allocations: 3.938 kB / 0.5661 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.158, allocations: 27.94 kB / 0.5661 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.158, allocations: 7.984 kB / 0.5661 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.158, allocations: 12.12 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.158, allocations: 0 / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.158, allocations: 4 kB / 0.5661 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.1585, allocations: 429.8 kB / 0.5665 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.1586, allocations: 108.9 kB / 0.5666 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.1587, allocations: 8 kB / 0.5667 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.1588, allocations: 11.98 kB / 0.5667 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1589, allocations: 19.92 kB / 0.5667 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.1589, allocations: 15.98 kB / 0.5667 GB, free: 10.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000385/0.1593, allocations: 371.1 kB / 0.567 GB, free: 9.867 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1593, allocations: 4 kB / 0.5671 GB, free: 9.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.1596, allocations: 48.12 kB / 0.5671 GB, free: 9.816 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0027/0.1623, allocations: 1.365 MB / 0.5684 GB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003687/0.1627, allocations: 150.4 kB / 0.5686 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1627, allocations: 0 / 0.5686 GB, free: 8.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1629, allocations: 76.22 kB / 0.5686 GB, free: 8.383 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.1634, allocations: 64.84 kB / 0.5687 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.1672, allocations: 3.016 MB / 0.5717 GB, free: 5.188 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.1676, allocations: 0.7831 MB / 0.5724 GB, free: 4.379 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1677, allocations: 41.91 kB / 0.5725 GB, free: 4.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.1679, allocations: 107.4 kB / 0.5726 GB, free: 4.234 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1679, allocations: 0 / 0.5726 GB, free: 4.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.1925, allocations: 6.726 MB / 0.5791 GB, free: 13.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.434/8.627, allocations: 14.81 kB / 0.5791 GB, free: 13.56 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test74.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.713297092006542]