Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.0008304/0.0008304, allocations: 75.7 kB / 20.01 MB, free: 4.504 MB / 18.57 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.0008878/0.0008878, allocations: 169.9 kB / 23.32 MB, free: 1.203 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8435/0.8435, allocations: 158.6 MB / 185.1 MB, free: 3 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.13/0.13, allocations: 32.38 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 4 kB / 407 MB, free: 2.172 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.576e-05, allocations: 5.938 kB / 407 MB, free: 2.168 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001651/0.001676, allocations: 0.4947 MB / 407.5 MB, free: 1.676 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.002293, allocations: 260.9 kB / 407.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.106e-05/0.002324, allocations: 4 kB / 407.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.002341, allocations: 0 / 407.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.002348, allocations: 0 / 407.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004133/0.002761, allocations: 51.75 kB / 407.8 MB, free: 1.367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.41e-05/0.002825, allocations: 4 kB / 407.8 MB, free: 1.363 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.002873, allocations: 4 kB / 407.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.002908, allocations: 0 / 407.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.002945, allocations: 0 / 407.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.002961, allocations: 0 / 407.8 MB, free: 1.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.003132, allocations: 63.88 kB / 407.9 MB, free: 1.297 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.003146, allocations: 7.984 kB / 407.9 MB, free: 1.289 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.003169, allocations: 4 kB / 407.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.003314, allocations: 55.88 kB / 408 MB, free: 1.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.003318, allocations: 3.938 kB / 408 MB, free: 1.227 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.00332, allocations: 0 / 408 MB, free: 1.227 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.003325, allocations: 0 / 408 MB, free: 1.227 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004195/0.003744, allocations: 288 kB / 408.3 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.003797, allocations: 8.031 kB / 408.3 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.003823, allocations: 30.75 kB / 408.3 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.003853, allocations: 4.922 kB / 408.3 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.56e-05/0.003919, allocations: 105.8 kB / 408.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.003932, allocations: 4.375 kB / 408.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.003944, allocations: 4.359 kB / 408.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.00405, allocations: 59.91 kB / 408.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.004057, allocations: 192 / 408.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.004066, allocations: 384 / 408.5 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.004073, allocations: 4.125 kB / 408.5 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.796e-05/0.004101, allocations: 33.7 kB / 408.5 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001088/0.004209, allocations: 116.7 kB / 408.6 MB, free: 460 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.004263, allocations: 52.3 kB / 408.7 MB, free: 392 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.004283, allocations: 30.56 kB / 408.7 MB, free: 352 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.004291, allocations: 4 kB / 408.7 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.004332, allocations: 68.27 kB / 408.8 MB, free: 264 kB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.004333, allocations: 0 / 408.8 MB, free: 264 kB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001996/0.004533, allocations: 114.8 kB / 408.9 MB, free: 124 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.004578, allocations: 81.05 kB / 409 MB, free: 24 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.143e-05/0.00463, allocations: 89.86 kB / 409.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.004641, allocations: 25.7 kB / 409.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.004665, allocations: 80.14 kB / 409.2 MB, free: 15.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.004689, allocations: 7.938 kB / 409.2 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.004715, allocations: 13.72 kB / 409.2 MB, free: 15.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.004806, allocations: 315 kB / 409.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.004835, allocations: 33.69 kB / 409.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.675e-05/0.004851, allocations: 29.64 kB / 409.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.004899, allocations: 64.27 kB / 409.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004901, allocations: 0 / 409.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.222e-05/0.004983, allocations: 85.11 kB / 409.7 MB, free: 15.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.005018, allocations: 33.69 kB / 409.7 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.005026, allocations: 4 kB / 409.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.005041, allocations: 0 / 409.7 MB, free: 15.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-06/0.005044, allocations: 8.094 kB / 409.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.005051, allocations: 3.938 kB / 409.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.701e-05/0.005068, allocations: 0 / 409.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.005076, allocations: 0 / 409.7 MB, free: 15.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002422/0.005318, allocations: 135.5 kB / 409.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/0.005328, allocations: 4 kB / 409.9 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.48e-05/0.005343, allocations: 3 kB / 409.9 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.005346, allocations: 3.984 kB / 409.9 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.005353, allocations: 7.875 kB / 409.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.005358, allocations: 0 / 409.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.385e-05/0.005452, allocations: 116.8 kB / 410 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005454, allocations: 4 kB / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.005455, allocations: 0 / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.005457, allocations: 0 / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.005466, allocations: 0 / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.005468, allocations: 4 kB / 410 MB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.005471, allocations: 3.938 kB / 410 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.005593, allocations: 116.5 kB / 410.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.695e-06/0.005601, allocations: 3.938 kB / 410.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.005612, allocations: 0 / 410.1 MB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.005623, allocations: 3.984 kB / 410.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.005644, allocations: 11.97 kB / 410.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.005647, allocations: 0 / 410.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.005673, allocations: 75.28 kB / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005673, allocations: 0 / 410.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.005924, allocations: 27.88 kB / 410.3 MB, free: 14.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006659/0.00659, allocations: 0.8236 MB / 411.1 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.006696, allocations: 118.8 kB / 411.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.006698, allocations: 0 / 411.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.006725, allocations: 81.11 kB / 411.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.579e-05/0.00682, allocations: 7.875 kB / 411.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002556/0.007076, allocations: 148.2 kB / 411.4 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.007109, allocations: 51.36 kB / 411.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.703e-06/0.007115, allocations: 4 kB / 411.5 MB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.00713, allocations: 12.5 kB / 411.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of SimCode: time 4.01e-07/0.00713, allocations: 4.125 kB / 411.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.02396, allocations: 2.301 MB / 413.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.825/6.849, allocations: 3.906 kB / 413.8 MB, free: 10.86 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Failed to open simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv: Error: Error opening file: ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.csv " [Timeout remaining time 660] "" Variables in the reference:time,result Variables in the result: [Calling sys.exit(0), Time elapsed: 8.807039164938033]