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.001611/0.001611, allocations: 112.5 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.001966/0.001966, allocations: 212.1 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2452/0.2452, allocations: 46.94 MB / 360.8 MB, free: 4.164 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.002312/0.002312, allocations: 79.88 kB / 0.4963 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3237, allocations: 66.08 MB / 0.5608 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.003129/0.3268, allocations: 1.74 MB / 0.5625 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.3295, allocations: 1.742 MB / 0.5642 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.328e-05/0.3296, allocations: 7.938 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.3299, allocations: 35.77 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.3303, allocations: 91.61 kB / 0.5643 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.3305, allocations: 83.66 kB / 0.5644 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.3307, allocations: 111.6 kB / 0.5645 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.3308, allocations: 13.83 kB / 0.5645 GB, free: 416 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3309, allocations: 51.77 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001614/0.3311, allocations: 43.83 kB / 0.5646 GB, free: 320 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3311, allocations: 8 kB / 0.5646 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.3313, allocations: 107.9 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.3313, allocations: 23.92 kB / 0.5647 GB, free: 180 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.3314, allocations: 31.75 kB / 0.5648 GB, free: 148 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003145/0.3317, allocations: 171.4 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3317, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3317, allocations: 4 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3317, allocations: 4 kB / 0.565 GB, free: 15.96 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.0005601/0.3323, allocations: 349.5 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3323, allocations: 8.031 kB / 0.5653 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.123e-05/0.3323, allocations: 34.73 kB / 0.5653 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.3324, allocations: 12.84 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.3327, allocations: 154.3 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.3327, allocations: 8.312 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3327, allocations: 7.938 kB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.3329, allocations: 79.31 kB / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3329, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3329, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3329, allocations: 0 / 0.5656 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.333, allocations: 19.98 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.3333, allocations: 255.9 kB / 0.5658 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.3335, allocations: 66.61 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.3336, allocations: 16.86 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.3336, allocations: 0 / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.3337, allocations: 71.31 kB / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.3337, allocations: 0 / 0.566 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005672/0.3343, allocations: 177.4 kB / 0.5662 GB, free: 14.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.327e-05/0.3344, allocations: 85.09 kB / 0.5662 GB, free: 14.49 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.3346, allocations: 162.4 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3346, allocations: 29.69 kB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.3347, allocations: 96.14 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3347, allocations: 31.73 kB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3347, allocations: 21.72 kB / 0.5666 GB, free: 14.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3349, allocations: 322.8 kB / 0.5669 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.3349, allocations: 23.98 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.335, allocations: 46.5 kB / 0.5669 GB, free: 13.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3351, allocations: 57.72 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3351, allocations: 0 / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/0.3353, allocations: 101.5 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3354, allocations: 8.062 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3354, allocations: 4 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3354, allocations: 0 / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.3355, allocations: 15.98 kB / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3355, allocations: 0 / 0.5671 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.637e-05/0.3355, allocations: 11.94 kB / 0.5671 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.3355, allocations: 4 kB / 0.5671 GB, free: 13.51 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.0001077/0.3356, allocations: 119.1 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.3357, allocations: 15.94 kB / 0.5673 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002377/0.3359, allocations: 110.5 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3359, allocations: 7.938 kB / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3359, allocations: 0 / 0.5674 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3359, allocations: 7.922 kB / 0.5674 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3364, allocations: 362.4 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3364, allocations: 3.984 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.3364, allocations: 8 kB / 0.5677 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3364, allocations: 11.88 kB / 0.5677 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3364, allocations: 4.031 kB / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3364, allocations: 0 / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3364, allocations: 0 / 0.5678 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3367, allocations: 196.3 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.113e-05/0.3367, allocations: 12.12 kB / 0.568 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3367, allocations: 11.94 kB / 0.568 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.637e-05/0.3368, allocations: 7.938 kB / 0.568 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3368, allocations: 12.34 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3368, allocations: 4 kB / 0.568 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.337, allocations: 127.9 kB / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.337, allocations: 0 / 0.5681 GB, free: 12.42 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.3373, allocations: 51.86 kB / 0.5682 GB, free: 12.37 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.002442/0.3397, allocations: 1.185 MB / 0.5693 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.3399, allocations: 59.91 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-05/0.3399, allocations: 4.062 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.34, allocations: 31.92 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3404, allocations: 23.97 kB / 0.5694 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.3423, allocations: 1.589 MB / 0.571 GB, free: 9.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.3426, allocations: 0.7002 MB / 0.5717 GB, free: 8.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.674e-05/0.3427, allocations: 21.27 kB / 0.5717 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.571e-05/0.3428, allocations: 39.42 kB / 0.5717 GB, free: 8.766 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3428, allocations: 0 / 0.5717 GB, free: 8.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.3731, allocations: 4.198 MB / 0.5758 GB, free: 4.578 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.39, allocations: 8 kB / 0.5758 GB, free: 4.57 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 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.csv","/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] "Error: Could not read variable t_new.y[1] in file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.713847197002906]