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.001392/0.001392, 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.0018/0.0018, allocations: 210 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.495/1.495, 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.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.2618/0.2618, allocations: 44.94 MB / 358.8 MB, free: 6.133 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.002013/0.002013, allocations: 63.89 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3314, allocations: 65.48 MB / 0.557 GB, free: 7.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003323/0.3347, allocations: 1.782 MB / 0.5588 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3366, allocations: 1.041 MB / 0.5598 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.3367, allocations: 0 / 0.5598 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.3372, allocations: 307.2 kB / 0.5601 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.3377, allocations: 255.2 kB / 0.5603 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/0.338, allocations: 103.7 kB / 0.5604 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.3383, allocations: 267.2 kB / 0.5607 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.3384, allocations: 5.812 kB / 0.5607 GB, free: 3.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.3385, allocations: 127.5 kB / 0.5608 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.3388, allocations: 211.9 kB / 0.561 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.3388, allocations: 12 kB / 0.561 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.339, allocations: 47.97 kB / 0.5611 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3391, allocations: 140.5 kB / 0.5612 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3393, allocations: 111.1 kB / 0.5613 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.3397, allocations: 372.1 kB / 0.5617 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3397, allocations: 0 / 0.5617 GB, free: 2.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3397, allocations: 0 / 0.5617 GB, free: 2.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.3397, allocations: 0 / 0.5617 GB, free: 2.723 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.001045/0.3408, allocations: 0.6863 MB / 0.5623 GB, free: 2.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3408, allocations: 8.031 kB / 0.5623 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.374e-05/0.3408, allocations: 38.75 kB / 0.5624 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.3409, allocations: 52.59 kB / 0.5624 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006586/0.3416, allocations: 382.6 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.3416, allocations: 4.375 kB / 0.5628 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.3416, allocations: 11.92 kB / 0.5628 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.3418, allocations: 87.3 kB / 0.5629 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3419, allocations: 4 kB / 0.5629 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3419, allocations: 0 / 0.5629 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3419, allocations: 0 / 0.5629 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.342, allocations: 35.97 kB / 0.5629 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3424, allocations: 333.5 kB / 0.5632 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002963/0.3427, allocations: 109.1 kB / 0.5633 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.938e-05/0.3428, allocations: 37.7 kB / 0.5634 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.3429, allocations: 4 kB / 0.5634 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002565/0.3431, allocations: 116.9 kB / 0.5635 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.3431, allocations: 4 kB / 0.5635 GB, free: 0.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005249/0.3436, allocations: 209.2 kB / 0.5637 GB, free: 468 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.56e-05/0.3437, allocations: 81.11 kB / 0.5638 GB, free: 368 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.345, allocations: 1.03 MB / 0.5648 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.345, allocations: 29.7 kB / 0.5648 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/0.3452, allocations: 236.1 kB / 0.565 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.086e-05/0.3453, allocations: 23.77 kB / 0.5651 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.3453, allocations: 29.7 kB / 0.5651 GB, free: 14.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.3455, allocations: 370.8 kB / 0.5654 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.3456, allocations: 31.98 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3457, allocations: 63.41 kB / 0.5655 GB, free: 14.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3459, allocations: 95.34 kB / 0.5656 GB, free: 14.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3459, allocations: 3.938 kB / 0.5656 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003309/0.3463, allocations: 173.7 kB / 0.5658 GB, free: 14.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3463, allocations: 18.58 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3463, allocations: 0 / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.3463, allocations: 4.062 kB / 0.5658 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3464, allocations: 20 kB / 0.5658 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.3464, allocations: 8.031 kB / 0.5658 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3465, allocations: 19.89 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3466, allocations: 4 kB / 0.5659 GB, free: 14.16 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.0002479/0.3468, allocations: 229.6 kB / 0.5661 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.3469, allocations: 47.67 kB / 0.5661 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.3473, allocations: 205.8 kB / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3473, allocations: 4 kB / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3473, allocations: 0 / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3473, allocations: 0 / 0.5663 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.3477, allocations: 296.5 kB / 0.5666 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3477, allocations: 0 / 0.5666 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.719e-05/0.3477, allocations: 11.98 kB / 0.5666 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.3477, allocations: 4 kB / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3477, allocations: 0 / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3477, allocations: 0 / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.3477, allocations: 4 kB / 0.5666 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003929/0.3481, allocations: 229.4 kB / 0.5668 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3483, allocations: 75.58 kB / 0.5669 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.3483, allocations: 3.938 kB / 0.5669 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/0.3484, allocations: 4 kB / 0.5669 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.3485, allocations: 11.98 kB / 0.5669 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.3485, allocations: 7.984 kB / 0.5669 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009314/0.3494, allocations: 0.7682 MB / 0.5677 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3494, allocations: 0 / 0.5677 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.3497, allocations: 47.98 kB / 0.5677 GB, free: 12.15 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.002285/0.352, allocations: 1.094 MB / 0.5688 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.3523, allocations: 79.91 kB / 0.5689 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3523, allocations: 0 / 0.5689 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.3525, allocations: 47.84 kB / 0.5689 GB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.3529, allocations: 69.58 kB / 0.569 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006288/0.3592, allocations: 4.491 MB / 0.5734 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3595, allocations: 245.7 kB / 0.5736 GB, free: 6.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000154/0.3596, allocations: 58.94 kB / 0.5737 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.3599, allocations: 147.4 kB / 0.5738 GB, free: 5.961 MB / 414.1 MB Notification: Performance of SimCode: time 1.503e-06/0.3599, allocations: 0 / 0.5738 GB, free: 5.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04345/0.4033, allocations: 9.847 MB / 0.5834 GB, free: 12.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 2.812 kB / 0.5834 GB, free: 12.19 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.16386983403936]