Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001277/0.001277, allocations: 115.9 kB / 20.43 MB, free: 1.449 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.002296/0.002296, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2349/0.2349, allocations: 46.92 MB / 360.8 MB, free: 4.273 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 0.4962 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 66.04 MB / 0.5607 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004549/0.3949, allocations: 1.953 MB / 0.5626 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.3976, allocations: 1.084 MB / 0.5637 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3977, allocations: 3.938 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.3981, allocations: 47.7 kB / 0.5637 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.3985, allocations: 103.5 kB / 0.5638 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.3988, allocations: 91.7 kB / 0.5639 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.3991, allocations: 151.5 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.3992, allocations: 27.56 kB / 0.5641 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3994, allocations: 63.7 kB / 0.5641 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3995, allocations: 47.72 kB / 0.5642 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.3996, allocations: 8 kB / 0.5642 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.3997, allocations: 51.92 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.3998, allocations: 23.91 kB / 0.5643 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.3999, allocations: 55.61 kB / 0.5643 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.4002, allocations: 159.2 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4002, allocations: 0 / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4002, allocations: 0 / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.4002, allocations: 0 / 0.5645 GB, free: 452 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.0008332/0.4011, allocations: 415 kB / 0.5649 GB, free: 0 / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/0.4011, allocations: 12.08 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.912e-05/0.4012, allocations: 38.69 kB / 0.5649 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.4013, allocations: 16.84 kB / 0.5649 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.4017, allocations: 175 kB / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4017, allocations: 384 / 0.5651 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/0.4018, allocations: 15.94 kB / 0.5651 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.4021, allocations: 108.2 kB / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4021, allocations: 0 / 0.5652 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.4021, allocations: 11.94 kB / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4021, allocations: 0 / 0.5652 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.4023, allocations: 47.91 kB / 0.5653 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008261/0.4031, allocations: 484.1 kB / 0.5657 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.4036, allocations: 86.59 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.4037, allocations: 40.83 kB / 0.5659 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.4037, allocations: 7.938 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.404, allocations: 83.31 kB / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.404, allocations: 0 / 0.5659 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005596/0.4046, allocations: 149.4 kB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.4046, allocations: 51.41 kB / 0.5661 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.4048, allocations: 203.2 kB / 0.5663 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.4049, allocations: 25.7 kB / 0.5664 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.405, allocations: 124 kB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.405, allocations: 27.75 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.4051, allocations: 29.7 kB / 0.5665 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4052, allocations: 322.8 kB / 0.5668 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.4053, allocations: 27.98 kB / 0.5669 GB, free: 13.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.4054, allocations: 68.27 kB / 0.5669 GB, free: 13.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.4056, allocations: 100.2 kB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4056, allocations: 0 / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002872/0.4059, allocations: 133.8 kB / 0.5672 GB, free: 13.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4059, allocations: 12.02 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.406, allocations: 7.938 kB / 0.5672 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.406, allocations: 3.938 kB / 0.5672 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.4061, allocations: 23.98 kB / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4061, allocations: 128 / 0.5672 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.4062, allocations: 15.89 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4062, allocations: 12 kB / 0.5672 GB, free: 13.37 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.0001346/0.4063, allocations: 129.8 kB / 0.5673 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.4063, allocations: 11.91 kB / 0.5674 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.4066, allocations: 127 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.4066, allocations: 3.938 kB / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4066, allocations: 0 / 0.5675 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.4066, allocations: 8 kB / 0.5675 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.4068, allocations: 180.7 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4068, allocations: 3.938 kB / 0.5677 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.4069, allocations: 11.98 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.4069, allocations: 7.984 kB / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4069, allocations: 0 / 0.5677 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.4069, allocations: 3.938 kB / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4069, allocations: 0 / 0.5677 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.4073, allocations: 180.9 kB / 0.5679 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.4073, allocations: 19.92 kB / 0.5679 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.4074, allocations: 4 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/0.4074, allocations: 7.938 kB / 0.5679 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.4074, allocations: 3.984 kB / 0.5679 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.4075, allocations: 8 kB / 0.5679 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001359/0.4076, allocations: 139.2 kB / 0.568 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4076, allocations: 4.188 kB / 0.568 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.4078, allocations: 31.98 kB / 0.5681 GB, free: 12.42 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 (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.002097/0.4099, allocations: 1.025 MB / 0.5691 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.4102, allocations: 79.89 kB / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4102, allocations: 0 / 0.5692 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.4103, allocations: 39.86 kB / 0.5692 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.4106, allocations: 43.59 kB / 0.5692 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.4129, allocations: 1.751 MB / 0.5709 GB, free: 9.504 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.4133, allocations: 0.724 MB / 0.5716 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.4133, allocations: 13.42 kB / 0.5717 GB, free: 8.742 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.618e-05/0.4134, allocations: 47.36 kB / 0.5717 GB, free: 8.695 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4134, allocations: 0 / 0.5717 GB, free: 8.695 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.4468, allocations: 4.024 MB / 0.5756 GB, free: 4.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.59, allocations: 4.047 kB / 0.5756 GB, free: 4.742 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.740519175000372]