Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.001864/0.001864, allocations: 110 kB / 20.43 MB, free: 1.453 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.001856/0.001856, allocations: 212.5 kB / 23.74 MB, free: 4.66 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 8 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.2346/0.2346, allocations: 46.93 MB / 360.8 MB, free: 4.18 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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00242/0.00242, allocations: 79.86 kB / 0.4963 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3335, allocations: 66.08 MB / 0.5608 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003689/0.3372, allocations: 1.741 MB / 0.5625 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.3401, allocations: 1.746 MB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.3402, allocations: 0 / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002844/0.3405, allocations: 35.77 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.3409, allocations: 95.55 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3411, allocations: 79.72 kB / 0.5644 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.3413, allocations: 111.6 kB / 0.5645 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.745e-05/0.3414, allocations: 9.828 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3415, allocations: 59.77 kB / 0.5646 GB, free: 388 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.3416, allocations: 39.84 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3417, allocations: 4 kB / 0.5646 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.3419, allocations: 111.9 kB / 0.5647 GB, free: 232 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.445e-05/0.3419, allocations: 23.91 kB / 0.5648 GB, free: 208 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.342, allocations: 31.75 kB / 0.5648 GB, free: 176 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.3423, allocations: 175.3 kB / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3423, allocations: 0 / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3423, allocations: 0 / 0.565 GB, free: 0 / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3424, allocations: 0 / 0.565 GB, free: 0 / 398.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.0006364/0.343, allocations: 349.5 kB / 0.5653 GB, free: 15.63 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.343, allocations: 8.031 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.862e-05/0.3431, allocations: 38.73 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.3431, allocations: 12.84 kB / 0.5653 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.3434, allocations: 154.8 kB / 0.5655 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3435, allocations: 8.312 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.3435, allocations: 7.938 kB / 0.5655 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.3436, allocations: 71.38 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3437, allocations: 0 / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3437, allocations: 4 kB / 0.5656 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.3437, allocations: 4 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.984e-05/0.3437, allocations: 15.98 kB / 0.5656 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3441, allocations: 267.8 kB / 0.5659 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3443, allocations: 54.67 kB / 0.5659 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.3443, allocations: 16.86 kB / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3443, allocations: 0 / 0.5659 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.3445, allocations: 71.38 kB / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.183e-06/0.3445, allocations: 0 / 0.566 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005431/0.3451, allocations: 165.4 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3451, allocations: 81.11 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3453, allocations: 170.4 kB / 0.5664 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3453, allocations: 33.69 kB / 0.5664 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3454, allocations: 96.14 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.3454, allocations: 39.66 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.3455, allocations: 21.72 kB / 0.5666 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3456, allocations: 318.8 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.3457, allocations: 23.98 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.3458, allocations: 46.56 kB / 0.5669 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.3459, allocations: 53.72 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.3459, allocations: 3.938 kB / 0.567 GB, free: 13.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000201/0.3461, allocations: 97.61 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3461, allocations: 10.34 kB / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3461, allocations: 0 / 0.5671 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3461, allocations: 4.062 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.3462, allocations: 23.92 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3462, allocations: 0 / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.708e-05/0.3463, allocations: 7.938 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3463, allocations: 4 kB / 0.5671 GB, free: 13.54 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 (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.0001076/0.3464, allocations: 117.8 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3464, allocations: 11.94 kB / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.3467, allocations: 118.5 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3467, allocations: 7.938 kB / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3467, allocations: 0 / 0.5674 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3467, allocations: 7.922 kB / 0.5674 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.3472, allocations: 362.4 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3472, allocations: 4.359 kB / 0.5677 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.3472, allocations: 8 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.3472, allocations: 7.938 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3472, allocations: 0 / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3472, allocations: 8.031 kB / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3472, allocations: 0 / 0.5678 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.3475, allocations: 200.3 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.3475, allocations: 11.94 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.3475, allocations: 7.938 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.3476, allocations: 7.938 kB / 0.568 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.3477, allocations: 11.98 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.3477, allocations: 0 / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.3478, allocations: 131.9 kB / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 0.5681 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003088/0.3481, allocations: 48.05 kB / 0.5682 GB, free: 12.4 MB / 414.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.002447/0.3505, allocations: 1.181 MB / 0.5693 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.3507, allocations: 59.91 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3508, allocations: 4 kB / 0.5694 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.531e-05/0.3508, allocations: 31.98 kB / 0.5694 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3512, allocations: 27.36 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3532, allocations: 1.585 MB / 0.571 GB, free: 9.578 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.3536, allocations: 0.7041 MB / 0.5717 GB, free: 8.848 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.908e-05/0.3537, allocations: 21.27 kB / 0.5717 GB, free: 8.828 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.996e-05/0.3537, allocations: 31.42 kB / 0.5717 GB, free: 8.797 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3537, allocations: 0 / 0.5717 GB, free: 8.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03256/0.3863, allocations: 4.207 MB / 0.5758 GB, free: 4.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 3.938 kB / 0.5758 GB, free: 4.602 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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: 14.66360335610807]