Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001367/0.001367, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001437/0.001437, allocations: 212.4 kB / 23.74 MB, free: 4.672 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.448/1.448, 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.2325/0.2325, allocations: 46.92 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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 83.86 kB / 0.4963 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3694, allocations: 66.08 MB / 0.5608 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003096/0.3725, allocations: 1.745 MB / 0.5625 GB, free: 2.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.3742, allocations: 1.045 MB / 0.5635 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.3743, allocations: 4 kB / 0.5635 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.3746, allocations: 47.77 kB / 0.5636 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.3749, allocations: 99.48 kB / 0.5637 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3751, allocations: 79.72 kB / 0.5637 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3753, allocations: 107.7 kB / 0.5638 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.3754, allocations: 9.812 kB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3755, allocations: 47.72 kB / 0.5639 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.3756, allocations: 31.86 kB / 0.5639 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3756, allocations: 4 kB / 0.5639 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.724e-05/0.3757, allocations: 43.97 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.3758, allocations: 27.86 kB / 0.564 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.3758, allocations: 31.75 kB / 0.564 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.3761, allocations: 131.4 kB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3761, allocations: 0 / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3761, allocations: 0 / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3761, allocations: 0 / 0.5642 GB, free: 0.707 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.0005844/0.3767, allocations: 353.5 kB / 0.5645 GB, free: 340 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.3767, allocations: 8.031 kB / 0.5645 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.3768, allocations: 34.75 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.3768, allocations: 12.89 kB / 0.5645 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3771, allocations: 170.2 kB / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3771, allocations: 384 / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.3771, allocations: 4.375 kB / 0.5647 GB, free: 76 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3773, allocations: 57.8 kB / 0.5648 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.3773, allocations: 3.984 kB / 0.5648 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3773, allocations: 0 / 0.5648 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.3774, allocations: 0 / 0.5648 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.3775, allocations: 23.98 kB / 0.5648 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.3779, allocations: 267.9 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.378, allocations: 46.69 kB / 0.5651 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.409e-05/0.3781, allocations: 20.84 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.3781, allocations: 3.984 kB / 0.5651 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.3783, allocations: 75.33 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.747e-06/0.3783, allocations: 3.984 kB / 0.5652 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005587/0.3789, allocations: 177.3 kB / 0.5654 GB, free: 15.33 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.3789, allocations: 55.34 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.3792, allocations: 214.2 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3792, allocations: 29.69 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.434e-05/0.3793, allocations: 108.1 kB / 0.5658 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.754e-05/0.3793, allocations: 31.78 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/0.3793, allocations: 21.66 kB / 0.5658 GB, free: 14.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3795, allocations: 330.8 kB / 0.5661 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.3796, allocations: 19.98 kB / 0.5661 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.498e-05/0.3796, allocations: 33.7 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3797, allocations: 65.64 kB / 0.5662 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3797, allocations: 4 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.3799, allocations: 97.58 kB / 0.5663 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3799, allocations: 9.875 kB / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.38, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.38, allocations: 0 / 0.5663 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/0.3801, allocations: 24.3 kB / 0.5664 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3801, allocations: 4 kB / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.245e-05/0.3801, allocations: 0 / 0.5664 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3801, allocations: 8 kB / 0.5664 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.0001198/0.3803, allocations: 133.8 kB / 0.5665 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.3803, allocations: 15.91 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3805, allocations: 114.9 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/0.3805, allocations: 4 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3805, allocations: 0 / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3805, allocations: 0 / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.381, allocations: 374.6 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.381, allocations: 4.031 kB / 0.567 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.434e-05/0.381, allocations: 8 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.381, allocations: 0 / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.381, allocations: 4 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.381, allocations: 3.938 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.381, allocations: 0 / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3813, allocations: 204.4 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.025e-05/0.3813, allocations: 19.88 kB / 0.5672 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.3813, allocations: 4 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.3814, allocations: 3.938 kB / 0.5672 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.3814, allocations: 11.98 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3815, allocations: 4 kB / 0.5672 GB, free: 13.24 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3816, allocations: 152.3 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3816, allocations: 0 / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.3819, allocations: 27.94 kB / 0.5674 GB, free: 13.07 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.002178/0.384, allocations: 1.086 MB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.3842, allocations: 55.92 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3842, allocations: 0 / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.3843, allocations: 27.92 kB / 0.5686 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.3847, allocations: 43.22 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3866, allocations: 1.686 MB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3869, allocations: 0.7041 MB / 0.5709 GB, free: 9.488 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.498e-05/0.387, allocations: 24.56 kB / 0.571 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.617e-05/0.3871, allocations: 43.42 kB / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3871, allocations: 0 / 0.571 GB, free: 9.422 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.416, allocations: 3.675 MB / 0.5746 GB, free: 5.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.25, allocations: 10.33 kB / 0.5746 GB, free: 5.777 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_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_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.348478244006401]