Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 115.7 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.218/0.218, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3117, allocations: 60.81 MB / 0.5184 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test24): time 0.002611/0.3144, allocations: 1.577 MB / 0.52 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.3157, allocations: 1.032 MB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.051e-05/0.3158, allocations: 1.219 kB / 0.521 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.316, allocations: 15.03 kB / 0.521 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.3162, allocations: 41.97 kB / 0.521 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.3165, allocations: 111.1 kB / 0.5212 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.3167, allocations: 52.38 kB / 0.5212 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3168, allocations: 12.91 kB / 0.5212 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.3169, allocations: 31.11 kB / 0.5212 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.317, allocations: 28.88 kB / 0.5213 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.317, allocations: 2.531 kB / 0.5213 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.3172, allocations: 54.28 kB / 0.5213 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.3172, allocations: 13.55 kB / 0.5213 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3173, allocations: 18.11 kB / 0.5214 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.3175, allocations: 89.67 kB / 0.5214 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3175, allocations: 0 / 0.5214 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3175, allocations: 1.781 kB / 0.5214 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.3175, allocations: 0 / 0.5214 GB, free: 1.504 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004167/0.3179, allocations: 377.8 kB / 0.5218 GB, free: 1.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.318, allocations: 13.81 kB / 0.5218 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.318, allocations: 36.66 kB / 0.5219 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.3181, allocations: 13.02 kB / 0.5219 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3182, allocations: 189.6 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3182, allocations: 2.625 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3183, allocations: 1.688 kB / 0.522 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3184, allocations: 66.19 kB / 0.5221 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3184, allocations: 4.703 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.3184, allocations: 1.156 kB / 0.5221 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3185, allocations: 3.938 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.333e-05/0.3185, allocations: 30.84 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.3189, allocations: 276.3 kB / 0.5224 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.3191, allocations: 41.94 kB / 0.5225 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.197e-05/0.3191, allocations: 23.61 kB / 0.5225 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3192, allocations: 4 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.3192, allocations: 36.39 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.3192, allocations: 0 / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005418/0.3198, allocations: 146.7 kB / 0.5227 GB, free: 348 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.979e-05/0.3198, allocations: 79 kB / 0.5227 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3199, allocations: 135.8 kB / 0.5229 GB, free: 136 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3199, allocations: 29.7 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.157e-05/0.32, allocations: 93.77 kB / 0.523 GB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.32, allocations: 14.69 kB / 0.523 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.3201, allocations: 20.31 kB / 0.523 GB, free: 15.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3202, allocations: 321.8 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.774e-05/0.3203, allocations: 20.7 kB / 0.5233 GB, free: 15.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.3204, allocations: 38.11 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3206, allocations: 50.52 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3206, allocations: 1.703 kB / 0.5234 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.3208, allocations: 88.64 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.3208, allocations: 4.625 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3208, allocations: 1.812 kB / 0.5235 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3208, allocations: 3.938 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.459e-05/0.3209, allocations: 16.41 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3209, allocations: 5.156 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.462e-05/0.321, allocations: 9 kB / 0.5235 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.321, allocations: 1.938 kB / 0.5235 GB, free: 15.54 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 (5): * Single equations (assignments): 5 * 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.0001078/0.3211, allocations: 114.2 kB / 0.5237 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3211, allocations: 7.906 kB / 0.5237 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.3214, allocations: 97.09 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3214, allocations: 5.703 kB / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3214, allocations: 0 / 0.5238 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.3214, allocations: 4.594 kB / 0.5238 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.3219, allocations: 350.2 kB / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3219, allocations: 0 / 0.5241 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.322, allocations: 16.48 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.322, allocations: 1.219 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.322, allocations: 4.594 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.322, allocations: 5.062 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.322, allocations: 0 / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.3223, allocations: 182.6 kB / 0.5243 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.3224, allocations: 83.8 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3224, allocations: 4.734 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.795e-05/0.3225, allocations: 5.25 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.206e-05/0.3225, allocations: 7.516 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.3225, allocations: 1.531 kB / 0.5244 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.3227, allocations: 103.5 kB / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3227, allocations: 0 / 0.5245 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000257/0.3229, allocations: 25.23 kB / 0.5245 GB, free: 14.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.00209/0.325, allocations: 1.056 MB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3253, allocations: 56.83 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3253, allocations: 4 kB / 0.5256 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.3254, allocations: 34.73 kB / 0.5256 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3257, allocations: 14.8 kB / 0.5257 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.3275, allocations: 1.403 MB / 0.527 GB, free: 12.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3279, allocations: 0.6935 MB / 0.5277 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.331e-05/0.328, allocations: 17.28 kB / 0.5277 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.328, allocations: 24.42 kB / 0.5277 GB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.328, allocations: 0 / 0.5277 GB, free: 11.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.3555, allocations: 2.785 MB / 0.5305 GB, free: 10.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.348, allocations: 12.42 kB / 0.5305 GB, free: 10.65 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches