Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.001591/0.001591, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001682/0.001682, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2223/0.2223, allocations: 44.94 MB / 358.8 MB, free: 6.023 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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.002133/0.002133, allocations: 67.89 kB / 0.4931 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 65.47 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003437/0.3131, allocations: 1.902 MB / 0.5589 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.315, allocations: 1.014 MB / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.3151, allocations: 0 / 0.5599 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.3154, allocations: 51.64 kB / 0.5599 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.3157, allocations: 99.53 kB / 0.56 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.3159, allocations: 95.66 kB / 0.5601 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.3161, allocations: 143.6 kB / 0.5602 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3162, allocations: 23.56 kB / 0.5603 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.997e-05/0.3163, allocations: 59.72 kB / 0.5603 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3164, allocations: 51.64 kB / 0.5604 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.3165, allocations: 8 kB / 0.5604 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.3166, allocations: 47.98 kB / 0.5604 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.3166, allocations: 27.86 kB / 0.5604 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.3167, allocations: 43.72 kB / 0.5605 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.317, allocations: 159.2 kB / 0.5606 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.317, allocations: 0 / 0.5606 GB, free: 3.781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.317, allocations: 0 / 0.5606 GB, free: 3.781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.317, allocations: 0 / 0.5606 GB, free: 3.781 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000644/0.3176, allocations: 415.1 kB / 0.561 GB, free: 3.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3177, allocations: 12.02 kB / 0.561 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.3177, allocations: 38.75 kB / 0.5611 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.3177, allocations: 16.84 kB / 0.5611 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003111/0.3181, allocations: 175 kB / 0.5613 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3181, allocations: 4.375 kB / 0.5613 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.3181, allocations: 15.94 kB / 0.5613 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3184, allocations: 129.9 kB / 0.5614 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.3184, allocations: 0 / 0.5614 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.3184, allocations: 4 kB / 0.5614 GB, free: 2.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3184, allocations: 4 kB / 0.5614 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.3186, allocations: 55.89 kB / 0.5615 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006367/0.3192, allocations: 484 kB / 0.5619 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003482/0.3196, allocations: 78.67 kB / 0.562 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.3197, allocations: 40.81 kB / 0.562 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3197, allocations: 7.938 kB / 0.5621 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.3199, allocations: 113 kB / 0.5622 GB, free: 2.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.3199, allocations: 0 / 0.5622 GB, free: 2.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.000466/0.3204, allocations: 157.4 kB / 0.5623 GB, free: 1.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3204, allocations: 55.41 kB / 0.5624 GB, free: 1.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.3207, allocations: 203.2 kB / 0.5626 GB, free: 1.613 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.3207, allocations: 29.7 kB / 0.5626 GB, free: 1.578 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3208, allocations: 112.1 kB / 0.5627 GB, free: 1.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.3209, allocations: 31.73 kB / 0.5627 GB, free: 1.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.3209, allocations: 29.7 kB / 0.5628 GB, free: 1.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3211, allocations: 326.8 kB / 0.5631 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.645e-05/0.3212, allocations: 27.98 kB / 0.5631 GB, free: 1.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3213, allocations: 72.2 kB / 0.5632 GB, free: 0.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3215, allocations: 104.2 kB / 0.5633 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3215, allocations: 0 / 0.5633 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/0.3218, allocations: 141.5 kB / 0.5634 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3219, allocations: 8.469 kB / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3219, allocations: 0 / 0.5634 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3219, allocations: 3.938 kB / 0.5634 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.322, allocations: 23.98 kB / 0.5634 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.322, allocations: 3.938 kB / 0.5634 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.3221, allocations: 23.81 kB / 0.5635 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3221, allocations: 8 kB / 0.5635 GB, free: 0.625 MB / 398.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.0001429/0.3222, allocations: 124 kB / 0.5636 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.3223, allocations: 15.97 kB / 0.5636 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.3226, allocations: 131 kB / 0.5637 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3226, allocations: 7.938 kB / 0.5637 GB, free: 344 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3226, allocations: 3.984 kB / 0.5637 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3226, allocations: 0 / 0.5637 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.3228, allocations: 172.7 kB / 0.5639 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3228, allocations: 0 / 0.5639 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.3229, allocations: 15.98 kB / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3229, allocations: 0 / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.3229, allocations: 0 / 0.5639 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3229, allocations: 11.88 kB / 0.5639 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3229, allocations: 4 kB / 0.5639 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.3234, allocations: 196.8 kB / 0.5641 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.3234, allocations: 19.88 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3234, allocations: 4 kB / 0.5641 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.3235, allocations: 11.92 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3236, allocations: 7.984 kB / 0.5642 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.3236, allocations: 4 kB / 0.5642 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3237, allocations: 147.2 kB / 0.5643 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3237, allocations: 4.062 kB / 0.5643 GB, free: 15.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.324, allocations: 24 kB / 0.5643 GB, free: 15.66 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 (10): * Single equations (assignments): 8 * 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.002272/0.3262, allocations: 1.063 MB / 0.5654 GB, free: 14.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3265, allocations: 83.77 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3265, allocations: 0 / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.3266, allocations: 36.23 kB / 0.5655 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.327, allocations: 51.58 kB / 0.5655 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3294, allocations: 1.774 MB / 0.5673 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.3295, allocations: 109.8 kB / 0.5674 GB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.399e-05/0.3296, allocations: 17.42 kB / 0.5674 GB, free: 12.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.28e-05/0.3297, allocations: 43.42 kB / 0.5674 GB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3297, allocations: 0 / 0.5674 GB, free: 12.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.3634, allocations: 4.545 MB / 0.5719 GB, free: 8.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.54, allocations: 15.84 kB / 0.5719 GB, free: 8.023 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.511591280810535]