Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.001779/0.001779, allocations: 111.1 kB / 20.44 MB, free: 1.34 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.00223/0.00223, allocations: 209.8 kB / 23.72 MB, free: 4.531 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.758 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.2281/0.2281, allocations: 46.96 MB / 360.8 MB, free: 3.941 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.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002318/0.002318, allocations: 84.16 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.32, allocations: 66.08 MB / 0.5607 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003897/0.3239, allocations: 1.71 MB / 0.5624 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.3261, allocations: 0.9671 MB / 0.5634 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.3261, allocations: 4 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.3265, allocations: 47.75 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.3268, allocations: 107.5 kB / 0.5635 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.327, allocations: 75.73 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.3272, allocations: 111.6 kB / 0.5637 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.3273, allocations: 9.812 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.3274, allocations: 39.8 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.402e-05/0.3275, allocations: 35.78 kB / 0.5638 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.3275, allocations: 8 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.3276, allocations: 39.98 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.3277, allocations: 27.84 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.3277, allocations: 31.73 kB / 0.5639 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.328, allocations: 135.5 kB / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.328, allocations: 0 / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.328, allocations: 0 / 0.564 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.328, allocations: 0 / 0.564 GB, free: 0.6758 MB / 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.0006322/0.3287, allocations: 365.3 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3287, allocations: 8.031 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.215e-05/0.3287, allocations: 30.75 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.3288, allocations: 12.89 kB / 0.5644 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.3291, allocations: 163 kB / 0.5646 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.3291, allocations: 8.359 kB / 0.5646 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3291, allocations: 4.375 kB / 0.5646 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3293, allocations: 61.78 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.3293, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3293, allocations: 4 kB / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3293, allocations: 0 / 0.5646 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.037e-05/0.3294, allocations: 23.98 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.3298, allocations: 259.9 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.33, allocations: 58.61 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.749e-05/0.33, allocations: 20.84 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.33, allocations: 8 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.3303, allocations: 63.39 kB / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.3303, allocations: 0 / 0.565 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005947/0.3309, allocations: 189.3 kB / 0.5652 GB, free: 15.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3309, allocations: 55.34 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.3312, allocations: 243 kB / 0.5655 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.3312, allocations: 25.7 kB / 0.5655 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.3313, allocations: 124 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.3314, allocations: 23.84 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.646e-05/0.3314, allocations: 25.7 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3316, allocations: 334.8 kB / 0.566 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.398e-05/0.3316, allocations: 27.92 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.3317, allocations: 33.7 kB / 0.5661 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3318, allocations: 53.72 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3318, allocations: 384 / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001982/0.332, allocations: 109.5 kB / 0.5662 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.332, allocations: 8 kB / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.332, allocations: 0 / 0.5662 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3321, allocations: 8.031 kB / 0.5662 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.3322, allocations: 19.92 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.3322, allocations: 4 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.649e-05/0.3322, allocations: 3.938 kB / 0.5663 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3322, allocations: 8 kB / 0.5663 GB, free: 14.12 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.0001194/0.3323, allocations: 129.8 kB / 0.5664 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.3324, allocations: 15.91 kB / 0.5664 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002808/0.3326, allocations: 127.1 kB / 0.5665 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.3327, allocations: 4 kB / 0.5665 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3327, allocations: 7.984 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.3327, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000526/0.3332, allocations: 374.4 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3332, allocations: 0 / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.3332, allocations: 12 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3332, allocations: 0 / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.3332, allocations: 3.984 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3332, allocations: 8.219 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3332, allocations: 0 / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002867/0.3335, allocations: 216.2 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.832e-05/0.3336, allocations: 19.94 kB / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.3336, allocations: 0 / 0.5672 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.3337, allocations: 11.92 kB / 0.5672 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.3337, allocations: 8 kB / 0.5672 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3337, allocations: 11.92 kB / 0.5672 GB, free: 13.1 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001865/0.3339, allocations: 171.2 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3339, allocations: 4 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.3342, allocations: 23.98 kB / 0.5674 GB, free: 12.91 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 (9): * Single equations (assignments): 7 * 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.002471/0.3367, allocations: 1.13 MB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.3369, allocations: 59.86 kB / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3369, allocations: 0 / 0.5685 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.3369, allocations: 27.98 kB / 0.5686 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.3373, allocations: 42.84 kB / 0.5686 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.3394, allocations: 1.763 MB / 0.5703 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.3396, allocations: 100.7 kB / 0.5704 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.65e-05/0.3396, allocations: 16.95 kB / 0.5704 GB, free: 9.816 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.195e-05/0.3397, allocations: 43.42 kB / 0.5705 GB, free: 9.773 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3397, allocations: 3.938 kB / 0.5705 GB, free: 9.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.3703, allocations: 4.342 MB / 0.5747 GB, free: 5.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.24, allocations: 3.938 kB / 0.5747 GB, free: 5.449 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.246488492935896]