Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002317/0.002317, allocations: 209.7 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.228/0.228, allocations: 46.97 MB / 360.9 MB, free: 4.121 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003581/0.003581, allocations: 71.89 kB / 0.4962 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3879, allocations: 66.04 MB / 0.5607 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003755/0.3917, allocations: 1.898 MB / 0.5625 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.3935, allocations: 1.009 MB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.3936, allocations: 7.938 kB / 0.5635 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.394, allocations: 47.69 kB / 0.5635 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.3943, allocations: 99.5 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002392/0.3946, allocations: 95.7 kB / 0.5637 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.3948, allocations: 151.5 kB / 0.5639 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3949, allocations: 19.56 kB / 0.5639 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.79e-05/0.395, allocations: 59.72 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.3951, allocations: 47.7 kB / 0.564 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3952, allocations: 8 kB / 0.564 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.3953, allocations: 47.98 kB / 0.5641 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.3953, allocations: 31.84 kB / 0.5641 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.3954, allocations: 35.75 kB / 0.5641 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.3957, allocations: 167.2 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3957, allocations: 0 / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3957, allocations: 0 / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.3957, allocations: 0 / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006526/0.3963, allocations: 415 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3964, allocations: 12.03 kB / 0.5647 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.301e-05/0.3964, allocations: 34.75 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3965, allocations: 16.84 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.3968, allocations: 175 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.3968, allocations: 8.375 kB / 0.5649 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.3968, allocations: 7.938 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.3971, allocations: 137.9 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3971, allocations: 0 / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3971, allocations: 4 kB / 0.565 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.3971, allocations: 3.984 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.3973, allocations: 51.91 kB / 0.5651 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006153/0.3979, allocations: 480.1 kB / 0.5656 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.3982, allocations: 86.59 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.565e-05/0.3983, allocations: 36.84 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.3983, allocations: 0 / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.3985, allocations: 113 kB / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3985, allocations: 0 / 0.5658 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004275/0.399, allocations: 157.4 kB / 0.5659 GB, free: 14.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.399, allocations: 51.41 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.3992, allocations: 207.1 kB / 0.5662 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3993, allocations: 33.69 kB / 0.5662 GB, free: 14.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3994, allocations: 116.1 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.3994, allocations: 27.75 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.3995, allocations: 29.7 kB / 0.5664 GB, free: 14.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3996, allocations: 322.8 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.3997, allocations: 35.97 kB / 0.5667 GB, free: 13.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.3998, allocations: 64.03 kB / 0.5668 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.4, allocations: 100.2 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4, allocations: 0 / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002826/0.4003, allocations: 141.8 kB / 0.567 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4003, allocations: 8.125 kB / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4003, allocations: 0 / 0.567 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.4003, allocations: 11.88 kB / 0.567 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.4005, allocations: 24.02 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.4005, allocations: 11.92 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.36e-05/0.4005, allocations: 19.88 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.4006, allocations: 4 kB / 0.5671 GB, free: 13.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001239/0.4007, allocations: 129.8 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.4007, allocations: 15.91 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003121/0.401, allocations: 143 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.401, allocations: 3.938 kB / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.401, allocations: 0 / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.401, allocations: 0 / 0.5674 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.4012, allocations: 176.7 kB / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4012, allocations: 0 / 0.5675 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.4013, allocations: 15.98 kB / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4013, allocations: 0 / 0.5676 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.4013, allocations: 4 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.4013, allocations: 7.938 kB / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4013, allocations: 0 / 0.5676 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4017, allocations: 196.9 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.4017, allocations: 15.88 kB / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4018, allocations: 0 / 0.5678 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.4018, allocations: 15.92 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.4019, allocations: 7.984 kB / 0.5678 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4019, allocations: 4 kB / 0.5678 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.402, allocations: 147.2 kB / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.402, allocations: 0 / 0.5679 GB, free: 12.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.4023, allocations: 24.06 kB / 0.568 GB, free: 12.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002239/0.4045, allocations: 1.067 MB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.4048, allocations: 83.83 kB / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4048, allocations: 0 / 0.5691 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.4049, allocations: 39.91 kB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.4052, allocations: 50.72 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.4074, allocations: 1.76 MB / 0.5709 GB, free: 9.395 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.4075, allocations: 113.8 kB / 0.571 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.073e-05/0.4075, allocations: 13.42 kB / 0.571 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.785e-05/0.4076, allocations: 43.42 kB / 0.571 GB, free: 9.207 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4076, allocations: 0 / 0.571 GB, free: 9.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04485/0.4525, allocations: 4.547 MB / 0.5755 GB, free: 4.719 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.7, allocations: 7.047 kB / 0.5755 GB, free: 4.715 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.943841278087348]