Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.00128/0.00128, allocations: 113.2 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.001423/0.001423, allocations: 209.5 kB / 23.74 MB, free: 4.66 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2381/0.2381, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",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.002123/0.002123, allocations: 63.91 kB / 0.4931 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4121, allocations: 65.48 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003964/0.416, allocations: 1.849 MB / 0.5589 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.4181, allocations: 1.116 MB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.092e-05/0.4182, allocations: 0 / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005682/0.4188, allocations: 303.2 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.4193, allocations: 255.2 kB / 0.5605 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.4195, allocations: 111.6 kB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.4199, allocations: 259.2 kB / 0.5609 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.766e-05/0.42, allocations: 17.8 kB / 0.5609 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002297/0.4202, allocations: 135.5 kB / 0.561 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.4205, allocations: 212 kB / 0.5612 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.4206, allocations: 8 kB / 0.5612 GB, free: 3.484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.4207, allocations: 47.92 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.4209, allocations: 136.5 kB / 0.5614 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001753/0.4211, allocations: 142.8 kB / 0.5615 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.4216, allocations: 372.1 kB / 0.5619 GB, free: 2.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.4216, allocations: 3.938 kB / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.4216, allocations: 0 / 0.5619 GB, free: 2.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.4216, allocations: 4 kB / 0.5619 GB, free: 2.793 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.001231/0.4228, allocations: 0.6786 MB / 0.5626 GB, free: 2.082 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4229, allocations: 12.03 kB / 0.5626 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.573e-05/0.4229, allocations: 30.75 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.841e-05/0.423, allocations: 48.61 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006871/0.4237, allocations: 390.6 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4237, allocations: 12.31 kB / 0.563 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.4237, allocations: 3.938 kB / 0.563 GB, free: 1.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.424, allocations: 95.36 kB / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.424, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.424, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.424, allocations: 0 / 0.5631 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.4241, allocations: 31.97 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.4246, allocations: 349.4 kB / 0.5635 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.4248, allocations: 105.2 kB / 0.5636 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.4249, allocations: 33.7 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.425, allocations: 4 kB / 0.5636 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.4252, allocations: 109 kB / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.4252, allocations: 0 / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005183/0.4257, allocations: 205.6 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.4258, allocations: 77.11 kB / 0.564 GB, free: 460 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.427, allocations: 1.03 MB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.427, allocations: 29.7 kB / 0.565 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.4272, allocations: 232.1 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.4273, allocations: 27.78 kB / 0.5653 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.4273, allocations: 29.7 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.4275, allocations: 370.8 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/0.4276, allocations: 31.92 kB / 0.5657 GB, free: 14.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.4277, allocations: 63.42 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.4279, allocations: 91.34 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.4279, allocations: 3.938 kB / 0.5658 GB, free: 14.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003087/0.4282, allocations: 173.2 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.4282, allocations: 4 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.4282, allocations: 4.062 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.4282, allocations: 7.984 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.4284, allocations: 16 kB / 0.566 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.4284, allocations: 7.938 kB / 0.566 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.754e-05/0.4285, allocations: 15.88 kB / 0.5661 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.4285, allocations: 7.984 kB / 0.5661 GB, free: 14.25 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.0002798/0.4288, allocations: 225.7 kB / 0.5663 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.339e-05/0.4289, allocations: 51.67 kB / 0.5663 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.4293, allocations: 198 kB / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.4293, allocations: 0 / 0.5665 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.4293, allocations: 8.062 kB / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.4293, allocations: 0 / 0.5665 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.4297, allocations: 320.4 kB / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4297, allocations: 0 / 0.5668 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.4298, allocations: 12 kB / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4298, allocations: 0 / 0.5668 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.4298, allocations: 3.984 kB / 0.5669 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.4298, allocations: 11.94 kB / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4298, allocations: 0 / 0.5669 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004043/0.4302, allocations: 213.5 kB / 0.5671 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.4304, allocations: 63.59 kB / 0.5671 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.528e-05/0.4304, allocations: 8 kB / 0.5671 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.4305, allocations: 7.984 kB / 0.5671 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.4306, allocations: 15.98 kB / 0.5672 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.4306, allocations: 4 kB / 0.5672 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001015/0.4316, allocations: 0.7604 MB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4316, allocations: 0 / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002984/0.4319, allocations: 43.98 kB / 0.5679 GB, free: 12.25 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.002516/0.4344, allocations: 1.059 MB / 0.569 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.4347, allocations: 79.89 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4347, allocations: 4 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.4348, allocations: 35.92 kB / 0.5691 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.4353, allocations: 75.61 kB / 0.5692 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005831/0.4411, allocations: 4.485 MB / 0.5735 GB, free: 6.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.4416, allocations: 0.8541 MB / 0.5744 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001444/0.4418, allocations: 63.44 kB / 0.5744 GB, free: 5.598 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.442, allocations: 151.4 kB / 0.5746 GB, free: 5.453 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.442, allocations: 0 / 0.5746 GB, free: 5.453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03844/0.4804, allocations: 9.209 MB / 0.5836 GB, free: 12.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.12, allocations: 0 / 0.5836 GB, free: 12.32 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --stepSize=1.56403 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.333757601911202]