Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001819/0.001819, allocations: 110 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.002255/0.002255, allocations: 213.4 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.542/1.542, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.2618/0.2618, allocations: 46.92 MB / 360.8 MB, free: 4.195 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.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 79.88 kB / 0.4963 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3681, allocations: 66.08 MB / 0.5608 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003543/0.3716, allocations: 1.747 MB / 0.5625 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3738, allocations: 1.045 MB / 0.5635 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.196e-05/0.3738, allocations: 3.938 kB / 0.5635 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.3742, allocations: 55.75 kB / 0.5636 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003407/0.3745, allocations: 115.5 kB / 0.5637 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.3747, allocations: 71.75 kB / 0.5638 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.3749, allocations: 107.7 kB / 0.5639 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.785e-05/0.375, allocations: 5.828 kB / 0.5639 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3752, allocations: 47.72 kB / 0.5639 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.81e-05/0.3752, allocations: 35.84 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.3753, allocations: 4 kB / 0.564 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3754, allocations: 39.98 kB / 0.564 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.3754, allocations: 35.78 kB / 0.564 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3755, allocations: 43.67 kB / 0.5641 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002584/0.3757, allocations: 139.4 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3758, allocations: 4 kB / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3758, allocations: 0 / 0.5642 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3758, allocations: 0 / 0.5642 GB, free: 0.7617 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.0006142/0.3764, allocations: 373.2 kB / 0.5646 GB, free: 376 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.3764, allocations: 12.03 kB / 0.5646 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.3765, allocations: 38.73 kB / 0.5646 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.3765, allocations: 16.84 kB / 0.5646 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.3768, allocations: 163.1 kB / 0.5648 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3768, allocations: 8.375 kB / 0.5648 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.3769, allocations: 4.375 kB / 0.5648 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.377, allocations: 53.8 kB / 0.5648 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.377, allocations: 0 / 0.5648 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.377, allocations: 8 kB / 0.5649 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.377, allocations: 3.984 kB / 0.5649 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.389e-05/0.3771, allocations: 12 kB / 0.5649 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.3775, allocations: 275.8 kB / 0.5651 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.3777, allocations: 58.67 kB / 0.5652 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.3778, allocations: 12.86 kB / 0.5652 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3778, allocations: 4 kB / 0.5652 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3779, allocations: 71.31 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.647e-06/0.3779, allocations: 4 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005823/0.3785, allocations: 181.4 kB / 0.5654 GB, free: 15.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.3786, allocations: 55.34 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.3789, allocations: 278.8 kB / 0.5658 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.3789, allocations: 25.7 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.379, allocations: 116.1 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.097e-05/0.379, allocations: 23.8 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.382e-05/0.3791, allocations: 25.7 kB / 0.5659 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3792, allocations: 334.8 kB / 0.5663 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.989e-05/0.3793, allocations: 19.98 kB / 0.5663 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.3793, allocations: 41.64 kB / 0.5663 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3795, allocations: 54.03 kB / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3795, allocations: 0 / 0.5664 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.3797, allocations: 117.5 kB / 0.5665 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3797, allocations: 12.03 kB / 0.5665 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.3797, allocations: 4 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3797, allocations: 0 / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.3798, allocations: 19.92 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.3798, allocations: 4 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.3799, allocations: 0 / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3799, allocations: 8 kB / 0.5665 GB, free: 14.16 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.0001273/0.38, allocations: 139.1 kB / 0.5667 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.38, allocations: 11.91 kB / 0.5667 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002522/0.3803, allocations: 119 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3803, allocations: 4 kB / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3803, allocations: 0 / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.3803, allocations: 0 / 0.5668 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.3808, allocations: 382.5 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3808, allocations: 0 / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.551e-05/0.3808, allocations: 11.98 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.3808, allocations: 8.031 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3808, allocations: 4 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3808, allocations: 3.938 kB / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3808, allocations: 0 / 0.5672 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.3811, allocations: 204.2 kB / 0.5674 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.32e-05/0.3811, allocations: 11.91 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.3811, allocations: 4 kB / 0.5674 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.3812, allocations: 15.92 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3812, allocations: 4 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3812, allocations: 3.984 kB / 0.5674 GB, free: 13.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3814, allocations: 204.6 kB / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3814, allocations: 0 / 0.5676 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.3817, allocations: 27.94 kB / 0.5676 GB, free: 12.93 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.002188/0.3839, allocations: 1.098 MB / 0.5687 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.3841, allocations: 55.92 kB / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3841, allocations: 0 / 0.5688 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.3842, allocations: 31.92 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3845, allocations: 27.97 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.3867, allocations: 1.839 MB / 0.5706 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3871, allocations: 0.7158 MB / 0.5713 GB, free: 9.195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.624e-05/0.3871, allocations: 12.97 kB / 0.5713 GB, free: 9.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.353e-05/0.3872, allocations: 43.42 kB / 0.5714 GB, free: 9.137 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3872, allocations: 3.938 kB / 0.5714 GB, free: 9.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.4185, allocations: 3.961 MB / 0.5752 GB, free: 5.211 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.2, allocations: 9.188 kB / 0.5753 GB, free: 5.207 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_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_Test49.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.477640493998479]