Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001353/0.001353, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001492/0.001492, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2395/0.2395, allocations: 44.92 MB / 358.8 MB, free: 6.281 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4012, allocations: 65.48 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003333/0.4045, allocations: 1.842 MB / 0.5589 GB, free: 5.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.4066, allocations: 1.116 MB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.4067, allocations: 0 / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000599/0.4073, allocations: 299.2 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.4078, allocations: 263.2 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.4081, allocations: 107.6 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.4084, allocations: 263.2 kB / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.4085, allocations: 9.797 kB / 0.5609 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.4087, allocations: 139.5 kB / 0.561 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003064/0.409, allocations: 212 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.409, allocations: 8 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.4091, allocations: 51.92 kB / 0.5613 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.4093, allocations: 128.5 kB / 0.5614 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.4094, allocations: 150.8 kB / 0.5615 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000454/0.4099, allocations: 372.1 kB / 0.5619 GB, free: 2.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4099, allocations: 7.938 kB / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4099, allocations: 0 / 0.5619 GB, free: 2.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.4099, allocations: 0 / 0.5619 GB, free: 2.809 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001008/0.4109, allocations: 0.6747 MB / 0.5626 GB, free: 2.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4109, allocations: 8.031 kB / 0.5626 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.411, allocations: 38.73 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.4111, allocations: 52.61 kB / 0.5626 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006198/0.4117, allocations: 386.6 kB / 0.563 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.4117, allocations: 12.31 kB / 0.563 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.4117, allocations: 11.92 kB / 0.563 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4119, allocations: 83.38 kB / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.412, allocations: 0 / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.412, allocations: 0 / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.412, allocations: 0 / 0.5631 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.4121, allocations: 31.97 kB / 0.5631 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.4126, allocations: 357.4 kB / 0.5635 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.4129, allocations: 97.17 kB / 0.5636 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.413, allocations: 41.7 kB / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4131, allocations: 0 / 0.5636 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.4133, allocations: 113 kB / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4133, allocations: 0 / 0.5637 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005653/0.4139, allocations: 201.2 kB / 0.5639 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.414, allocations: 81.11 kB / 0.564 GB, free: 472 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4153, allocations: 1.026 MB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.4153, allocations: 33.7 kB / 0.565 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.4156, allocations: 232.1 kB / 0.5653 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.4156, allocations: 23.8 kB / 0.5653 GB, free: 15.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.4157, allocations: 33.7 kB / 0.5653 GB, free: 15.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.4159, allocations: 362.8 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.41e-05/0.416, allocations: 35.92 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.4161, allocations: 67.39 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/0.4163, allocations: 87.36 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.4163, allocations: 7.875 kB / 0.5658 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.4166, allocations: 177.8 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4166, allocations: 4 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4166, allocations: 4 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4166, allocations: 0 / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4168, allocations: 23.98 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.4168, allocations: 3.938 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.397e-05/0.4169, allocations: 15.89 kB / 0.5661 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4169, allocations: 4 kB / 0.5661 GB, free: 14.27 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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.0002435/0.4171, allocations: 229.8 kB / 0.5663 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.4172, allocations: 47.67 kB / 0.5663 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.4176, allocations: 193.8 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4176, allocations: 4 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4176, allocations: 0 / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4176, allocations: 0 / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.4179, allocations: 316.5 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4179, allocations: 4 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.418, allocations: 19.98 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.418, allocations: 0 / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.418, allocations: 4 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.418, allocations: 3.938 kB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.418, allocations: 0 / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.4183, allocations: 217.4 kB / 0.5671 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4185, allocations: 63.61 kB / 0.5671 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.4185, allocations: 7.984 kB / 0.5671 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.4186, allocations: 8.188 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.4186, allocations: 7.984 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.4187, allocations: 8 kB / 0.5672 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008432/0.4195, allocations: 0.7682 MB / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4195, allocations: 0 / 0.5679 GB, free: 12.31 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.4198, allocations: 44 kB / 0.5679 GB, free: 12.27 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00214/0.4219, allocations: 1.055 MB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.4222, allocations: 79.91 kB / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4222, allocations: 0 / 0.569 GB, free: 11.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4223, allocations: 48.41 kB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4227, allocations: 82.97 kB / 0.5692 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/0.4287, allocations: 4.481 MB / 0.5735 GB, free: 6.555 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005159/0.4292, allocations: 0.8503 MB / 0.5744 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.4293, allocations: 58.94 kB / 0.5744 GB, free: 5.617 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.4295, allocations: 143.3 kB / 0.5746 GB, free: 5.48 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4295, allocations: 4 kB / 0.5746 GB, free: 5.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0436/0.4731, allocations: 9.21 MB / 0.5836 GB, free: 12.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.11, allocations: 7.922 kB / 0.5836 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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: 15.295176195912063]