Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.00134/0.00134, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001511/0.001511, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.424/1.424, 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.2189/0.2189, allocations: 46.95 MB / 360.8 MB, free: 3.945 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.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 83.88 kB / 0.4962 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3191, allocations: 66.08 MB / 0.5608 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003284/0.3224, allocations: 1.709 MB / 0.5624 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3242, allocations: 0.9709 MB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.035e-05/0.3243, allocations: 0 / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.3247, allocations: 47.75 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.325, allocations: 95.61 kB / 0.5635 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001952/0.3252, allocations: 79.66 kB / 0.5636 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.3254, allocations: 107.6 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.966e-05/0.3255, allocations: 9.828 kB / 0.5637 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.3256, allocations: 43.78 kB / 0.5637 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.259e-05/0.3257, allocations: 39.78 kB / 0.5638 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3257, allocations: 4 kB / 0.5638 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3258, allocations: 39.98 kB / 0.5638 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.806e-05/0.3259, allocations: 23.91 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.3259, allocations: 23.81 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3262, allocations: 131.4 kB / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3262, allocations: 0 / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3262, allocations: 0 / 0.564 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3262, allocations: 0 / 0.564 GB, free: 0.6914 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.0005768/0.3268, allocations: 345.6 kB / 0.5643 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3268, allocations: 8.031 kB / 0.5643 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.703e-05/0.3268, allocations: 38.69 kB / 0.5644 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.3269, allocations: 16.83 kB / 0.5644 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3271, allocations: 147 kB / 0.5645 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3272, allocations: 8.375 kB / 0.5645 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.3272, allocations: 4.359 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3273, allocations: 65.73 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3273, allocations: 0 / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.3274, allocations: 8.047 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3274, allocations: 0 / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.572e-05/0.3275, allocations: 19.92 kB / 0.5646 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3279, allocations: 255.9 kB / 0.5649 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.328, allocations: 62.61 kB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.3281, allocations: 16.86 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.3281, allocations: 0 / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/0.3283, allocations: 71.38 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3283, allocations: 0 / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000572/0.3289, allocations: 185.3 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3289, allocations: 51.41 kB / 0.5652 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.3291, allocations: 206.3 kB / 0.5654 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.3291, allocations: 25.7 kB / 0.5655 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.3292, allocations: 108.1 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.3293, allocations: 27.78 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3293, allocations: 25.7 kB / 0.5656 GB, free: 14.85 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.3295, allocations: 326.8 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.3295, allocations: 24.36 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.407e-05/0.3296, allocations: 45.64 kB / 0.566 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3297, allocations: 53.72 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3297, allocations: 4 kB / 0.566 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001969/0.3299, allocations: 105.5 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3299, allocations: 8 kB / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3299, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.33, allocations: 0 / 0.5662 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.33, allocations: 19.98 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3301, allocations: 4 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.3301, allocations: 4.031 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.3301, allocations: 7.938 kB / 0.5662 GB, free: 14.23 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.0001189/0.3302, allocations: 133.7 kB / 0.5663 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.3303, allocations: 16.09 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.3305, allocations: 123.1 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3305, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3305, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3305, allocations: 0 / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.331, allocations: 378.3 kB / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.331, allocations: 0 / 0.5668 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.3311, allocations: 15.98 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3311, allocations: 4 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.3311, allocations: 0 / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.3311, allocations: 3.938 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3311, allocations: 4 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3314, allocations: 212.2 kB / 0.567 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.3314, allocations: 7.953 kB / 0.567 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3314, allocations: 8 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.996e-05/0.3315, allocations: 3.938 kB / 0.5671 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3315, allocations: 12.02 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3315, allocations: 4 kB / 0.5671 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3317, allocations: 156.2 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3317, allocations: 0 / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.3319, allocations: 23.94 kB / 0.5672 GB, free: 13.05 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.002273/0.3342, allocations: 1.134 MB / 0.5684 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.3344, allocations: 63.84 kB / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3344, allocations: 0 / 0.5684 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.3345, allocations: 31.92 kB / 0.5684 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3348, allocations: 22.66 kB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.3367, allocations: 1.689 MB / 0.5701 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.3368, allocations: 88.19 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.148e-05/0.3369, allocations: 17.27 kB / 0.5702 GB, free: 10.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.337, allocations: 35.42 kB / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.337, allocations: 0 / 0.5703 GB, free: 10.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.3669, allocations: 4.136 MB / 0.5743 GB, free: 5.906 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.75, allocations: 7.75 kB / 0.5743 GB, free: 5.902 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.783881769049913]