Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001617/0.001617, 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.001556/0.001556, allocations: 217.2 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.3175/0.3175, allocations: 44.91 MB / 358.8 MB, free: 6.301 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.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.002184/0.002184, allocations: 75.88 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 65.47 MB / 0.5571 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.0034/0.3344, allocations: 1.939 MB / 0.559 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.3364, allocations: 1.151 MB / 0.5601 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.885e-05/0.3365, allocations: 3.938 kB / 0.5601 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000479/0.337, allocations: 227.3 kB / 0.5603 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004596/0.3375, allocations: 215.2 kB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3378, allocations: 127.5 kB / 0.5607 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003323/0.3381, allocations: 255.3 kB / 0.5609 GB, free: 3.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.3382, allocations: 23.78 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001996/0.3384, allocations: 131.4 kB / 0.5611 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.3386, allocations: 167.5 kB / 0.5612 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.3387, allocations: 8 kB / 0.5612 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3388, allocations: 63.98 kB / 0.5613 GB, free: 3.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.761e-05/0.3389, allocations: 67.69 kB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.339, allocations: 91.3 kB / 0.5614 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.3394, allocations: 246.8 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3394, allocations: 0 / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3394, allocations: 4 kB / 0.5617 GB, free: 3.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.3394, allocations: 3.984 kB / 0.5617 GB, free: 3.059 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008327/0.3402, allocations: 0.4925 MB / 0.5622 GB, free: 2.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3402, allocations: 12.03 kB / 0.5622 GB, free: 2.523 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.3403, allocations: 34.75 kB / 0.5622 GB, free: 2.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.609e-05/0.3404, allocations: 40.73 kB / 0.5622 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.3408, allocations: 230.4 kB / 0.5625 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.3408, allocations: 12.31 kB / 0.5625 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.3408, allocations: 11.94 kB / 0.5625 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.3411, allocations: 114.4 kB / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3411, allocations: 0 / 0.5626 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3411, allocations: 7.984 kB / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3411, allocations: 0 / 0.5626 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3413, allocations: 47.91 kB / 0.5626 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.3419, allocations: 447.9 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.3423, allocations: 121.1 kB / 0.5632 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3424, allocations: 41.83 kB / 0.5632 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.3424, allocations: 4 kB / 0.5632 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.3427, allocations: 117 kB / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3427, allocations: 0 / 0.5633 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001369/0.344, allocations: 0.5127 MB / 0.5638 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/0.3441, allocations: 81.11 kB / 0.5639 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.3448, allocations: 448.4 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3449, allocations: 33.7 kB / 0.5644 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.345, allocations: 156.5 kB / 0.5645 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.3451, allocations: 71.42 kB / 0.5646 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.3451, allocations: 41.72 kB / 0.5646 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3453, allocations: 350.8 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3454, allocations: 55.97 kB / 0.565 GB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3456, allocations: 91.34 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.3459, allocations: 167.4 kB / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.3459, allocations: 0 / 0.5653 GB, free: 15.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004346/0.3463, allocations: 233.3 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3463, allocations: 4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3463, allocations: 4 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.3464, allocations: 0 / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3465, allocations: 55.91 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3465, allocations: 0 / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.3466, allocations: 7.953 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.3466, allocations: 16.06 kB / 0.5656 GB, free: 14.8 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001884/0.3468, allocations: 170.3 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.194e-05/0.3468, allocations: 35.75 kB / 0.5658 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005943/0.3474, allocations: 265 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.3474, allocations: 4 kB / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3475, allocations: 0 / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3475, allocations: 0 / 0.566 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3485, allocations: 0.7183 MB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3485, allocations: 4 kB / 0.5667 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.465e-05/0.3486, allocations: 27.98 kB / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3486, allocations: 0 / 0.5668 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3486, allocations: 11.98 kB / 0.5668 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3486, allocations: 12.06 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.3486, allocations: 3.938 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.3491, allocations: 423.3 kB / 0.5672 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.3492, allocations: 27.77 kB / 0.5672 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3492, allocations: 8 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.3494, allocations: 7.984 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.3494, allocations: 27.8 kB / 0.5673 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.3494, allocations: 15.98 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003379/0.3498, allocations: 331 kB / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3498, allocations: 0 / 0.5676 GB, free: 12.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003486/0.3501, allocations: 55.94 kB / 0.5676 GB, free: 12.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002645/0.3528, allocations: 1.358 MB / 0.569 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.3531, allocations: 155.9 kB / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3531, allocations: 0 / 0.5691 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.3533, allocations: 68.09 kB / 0.5692 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.3538, allocations: 70.67 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.3577, allocations: 2.885 MB / 0.5721 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.3582, allocations: 0.7753 MB / 0.5728 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.3584, allocations: 45.89 kB / 0.5729 GB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.3585, allocations: 99.39 kB / 0.573 GB, free: 7.156 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3585, allocations: 0 / 0.573 GB, free: 7.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0344/0.3929, allocations: 6.686 MB / 0.5795 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.65, allocations: 3.375 kB / 0.5795 GB, free: 0.5508 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.892867502057925]