Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.001373/0.001373, allocations: 116.5 kB / 20.44 MB, free: 1.469 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.001537/0.001537, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.494/1.494, allocations: 230.5 MB / 257.4 MB, free: 8.016 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.2445/0.2445, allocations: 46.93 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 179] 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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003973/0.003973, allocations: 79.88 kB / 0.4963 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3667, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.00338/0.3701, allocations: 1.741 MB / 0.5625 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001915/0.372, allocations: 1.056 MB / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.002e-05/0.3721, allocations: 0 / 0.5635 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.3724, allocations: 43.75 kB / 0.5636 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.3727, allocations: 103.5 kB / 0.5637 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001979/0.3729, allocations: 71.75 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001999/0.3731, allocations: 111.7 kB / 0.5638 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.3733, allocations: 13.75 kB / 0.5639 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3734, allocations: 43.8 kB / 0.5639 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.187e-05/0.3735, allocations: 31.84 kB / 0.5639 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3735, allocations: 4 kB / 0.5639 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.3736, allocations: 43.92 kB / 0.564 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.3736, allocations: 15.92 kB / 0.564 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.3737, allocations: 43.72 kB / 0.564 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.3739, allocations: 123.4 kB / 0.5642 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.3739, allocations: 7.938 kB / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3739, allocations: 0 / 0.5642 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.3739, allocations: 0 / 0.5642 GB, free: 0.8047 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.0005447/0.3745, allocations: 345.6 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.3745, allocations: 8.031 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.3746, allocations: 34.75 kB / 0.5645 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.3746, allocations: 12.83 kB / 0.5645 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3749, allocations: 155 kB / 0.5647 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.3749, allocations: 8.359 kB / 0.5647 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.3749, allocations: 4.375 kB / 0.5647 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.375, allocations: 57.8 kB / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3751, allocations: 0 / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3751, allocations: 0 / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3751, allocations: 0 / 0.5648 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.3751, allocations: 27.97 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.3755, allocations: 259.9 kB / 0.565 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.3757, allocations: 54.69 kB / 0.5651 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/0.3758, allocations: 20.84 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.3758, allocations: 0 / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.376, allocations: 71.33 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.376, allocations: 3.938 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005284/0.3765, allocations: 181.3 kB / 0.5653 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.3765, allocations: 51.41 kB / 0.5654 GB, free: 15.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.3767, allocations: 198.3 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3767, allocations: 29.7 kB / 0.5656 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.3768, allocations: 104.1 kB / 0.5657 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.3768, allocations: 27.78 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.3769, allocations: 21.72 kB / 0.5658 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.377, allocations: 334.8 kB / 0.5661 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.485e-05/0.3771, allocations: 15.98 kB / 0.5661 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.3772, allocations: 37.7 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.3773, allocations: 61.64 kB / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3773, allocations: 384 / 0.5662 GB, free: 14.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001859/0.3775, allocations: 101.6 kB / 0.5663 GB, free: 14.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3775, allocations: 8.031 kB / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.3775, allocations: 0 / 0.5663 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3775, allocations: 8.188 kB / 0.5663 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.3776, allocations: 19.92 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3776, allocations: 3.938 kB / 0.5663 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.3776, allocations: 8 kB / 0.5663 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.3777, allocations: 0 / 0.5663 GB, free: 14.37 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.000113/0.3778, allocations: 133.9 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.3778, allocations: 15.89 kB / 0.5665 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.378, allocations: 115.2 kB / 0.5666 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.378, allocations: 7.984 kB / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.378, allocations: 0 / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.378, allocations: 0 / 0.5666 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.3785, allocations: 366.3 kB / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3785, allocations: 0 / 0.5669 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.3785, allocations: 8 kB / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3785, allocations: 32 / 0.5669 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3785, allocations: 8 kB / 0.567 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3786, allocations: 11.92 kB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3786, allocations: 0 / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3788, allocations: 204.2 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.3788, allocations: 7.953 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3788, allocations: 4 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3789, allocations: 11.94 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3789, allocations: 11.97 kB / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.379, allocations: 0 / 0.5672 GB, free: 13.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3791, allocations: 152.2 kB / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3791, allocations: 0 / 0.5673 GB, free: 13.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.3793, allocations: 23.94 kB / 0.5674 GB, free: 13.22 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.002087/0.3814, allocations: 1.079 MB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.3816, allocations: 59.91 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/0.3816, allocations: 4 kB / 0.5685 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.3817, allocations: 19.94 kB / 0.5685 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.382, allocations: 40.27 kB / 0.5685 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3839, allocations: 1.66 MB / 0.5702 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3843, allocations: 0.708 MB / 0.5708 GB, free: 9.668 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.3843, allocations: 16.95 kB / 0.5709 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.061e-05/0.3844, allocations: 35.42 kB / 0.5709 GB, free: 9.617 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3844, allocations: 0 / 0.5709 GB, free: 9.617 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4136, allocations: 3.623 MB / 0.5744 GB, free: 6.031 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.34, allocations: 3.375 kB / 0.5744 GB, free: 6.031 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_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_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.54479114300193]