Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.001383/0.001383, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001436/0.001436, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.697/1.697, allocations: 230.6 MB / 258.3 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.2319/0.2319, allocations: 44.94 MB / 359.6 MB, free: 6.094 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.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="cs",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.002035/0.002035, allocations: 63.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3097, allocations: 65.47 MB / 0.5577 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003732/0.3135, allocations: 1.611 MB / 0.5593 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001273/0.3147, allocations: 0.5309 MB / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3148, allocations: 4 kB / 0.5598 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003136/0.3152, allocations: 71.77 kB / 0.5599 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.3156, allocations: 107.6 kB / 0.56 GB, free: 5.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.316, allocations: 119 kB / 0.5601 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.3162, allocations: 87.75 kB / 0.5602 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3163, allocations: 13.77 kB / 0.5602 GB, free: 5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.643e-05/0.3164, allocations: 43.89 kB / 0.5603 GB, free: 4.957 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3165, allocations: 55.81 kB / 0.5603 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.3166, allocations: 4 kB / 0.5603 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3167, allocations: 47.92 kB / 0.5604 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.3168, allocations: 19.92 kB / 0.5604 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.3168, allocations: 31.78 kB / 0.5604 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.3171, allocations: 111.5 kB / 0.5605 GB, free: 4.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3171, allocations: 4 kB / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3171, allocations: 0 / 0.5605 GB, free: 4.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.3171, allocations: 0 / 0.5605 GB, free: 4.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006154/0.3177, allocations: 341.6 kB / 0.5609 GB, free: 4.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3178, allocations: 12.03 kB / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.3178, allocations: 192 / 0.5609 GB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.3178, allocations: 30.75 kB / 0.5609 GB, free: 4.273 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.3179, allocations: 16.84 kB / 0.5609 GB, free: 4.258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3181, allocations: 143 kB / 0.561 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.3181, allocations: 4.375 kB / 0.5611 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.3181, allocations: 8.125 kB / 0.5611 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3183, allocations: 61.61 kB / 0.5611 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3183, allocations: 0 / 0.5611 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.3183, allocations: 7.984 kB / 0.5611 GB, free: 4.004 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.3183, allocations: 4 kB / 0.5611 GB, free: 4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.988e-05/0.3184, allocations: 23.98 kB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.3188, allocations: 259.9 kB / 0.5614 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.319, allocations: 54.5 kB / 0.5615 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.319, allocations: 20.94 kB / 0.5615 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.319, allocations: 4 kB / 0.5615 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3191, allocations: 30.56 kB / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3191, allocations: 0 / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009586/0.32, allocations: 245.5 kB / 0.5617 GB, free: 3.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.3201, allocations: 59.34 kB / 0.5618 GB, free: 3.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3203, allocations: 210.3 kB / 0.562 GB, free: 3.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.3204, allocations: 25.7 kB / 0.562 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.64e-05/0.3205, allocations: 108.2 kB / 0.5621 GB, free: 2.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.3205, allocations: 35.66 kB / 0.5622 GB, free: 2.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.3205, allocations: 25.66 kB / 0.5622 GB, free: 2.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3207, allocations: 322.8 kB / 0.5625 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.3208, allocations: 31.97 kB / 0.5625 GB, free: 2.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.3209, allocations: 27.98 kB / 0.5625 GB, free: 2.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3211, allocations: 85.03 kB / 0.5626 GB, free: 2.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3211, allocations: 0 / 0.5626 GB, free: 2.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002519/0.3213, allocations: 109.5 kB / 0.5627 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3214, allocations: 4 kB / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3214, allocations: 0 / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/0.3214, allocations: 0 / 0.5627 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001179/0.3215, allocations: 23.92 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3215, allocations: 3.938 kB / 0.5628 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.719e-05/0.3216, allocations: 11.98 kB / 0.5628 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.3216, allocations: 4 kB / 0.5628 GB, free: 2.184 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001389/0.3217, allocations: 125.8 kB / 0.5629 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.031e-05/0.3217, allocations: 11.91 kB / 0.5629 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/0.3221, allocations: 131 kB / 0.563 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3221, allocations: 7.938 kB / 0.563 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.3221, allocations: 3.938 kB / 0.563 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3221, allocations: 3.984 kB / 0.5631 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.3227, allocations: 386.4 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.3227, allocations: 3.938 kB / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.146e-05/0.3228, allocations: 15.98 kB / 0.5634 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3228, allocations: 4 kB / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3228, allocations: 0 / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3228, allocations: 4 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3228, allocations: 4 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3231, allocations: 212.3 kB / 0.5637 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.3231, allocations: 19.83 kB / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3231, allocations: 0 / 0.5637 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.3232, allocations: 8 kB / 0.5637 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3232, allocations: 7.984 kB / 0.5637 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3233, allocations: 4 kB / 0.5637 GB, free: 1.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.3234, allocations: 160.2 kB / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3234, allocations: 0 / 0.5638 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002581/0.3237, allocations: 23.94 kB / 0.5639 GB, free: 0.9727 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002308/0.326, allocations: 1.138 MB / 0.565 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002781/0.3262, allocations: 67.95 kB / 0.565 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3262, allocations: 4 kB / 0.565 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.3263, allocations: 43.89 kB / 0.5651 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.3268, allocations: 22.92 kB / 0.5651 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002243/0.329, allocations: 1.716 MB / 0.5668 GB, free: 14.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3291, allocations: 100.8 kB / 0.5669 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.57e-05/0.3292, allocations: 24.94 kB / 0.5669 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.3293, allocations: 39.42 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3293, allocations: 0 / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.3524, allocations: 3.411 MB / 0.5703 GB, free: 10.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.78, allocations: 8.797 kB / 0.5703 GB, free: 10.55 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.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.128568941028789]