Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.001314/0.001314, 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.001451/0.001451, 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2386/0.2386, allocations: 46.96 MB / 360.9 MB, free: 4.016 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 67.91 kB / 0.4961 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3005, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002283/0.3028, allocations: 1.218 MB / 0.5618 GB, free: 3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.3035, allocations: 407.9 kB / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.122e-05/0.3035, allocations: 0 / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.3036, allocations: 0 / 0.5622 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.924e-05/0.3036, allocations: 4 kB / 0.5622 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.304, allocations: 67.73 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.567e-05/0.3041, allocations: 8 kB / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.3041, allocations: 0 / 0.5622 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.257e-05/0.3041, allocations: 7.984 kB / 0.5623 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002319/0.3044, allocations: 35.97 kB / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.3044, allocations: 0 / 0.5623 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.886e-05/0.3044, allocations: 7.984 kB / 0.5623 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.137e-06/0.3044, allocations: 7.922 kB / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.354e-05/0.3045, allocations: 0 / 0.5623 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.765e-05/0.3045, allocations: 15.8 kB / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3045, allocations: 0 / 0.5623 GB, free: 2.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3045, allocations: 4 kB / 0.5623 GB, free: 2.445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.3045, allocations: 0 / 0.5623 GB, free: 2.445 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002849/0.3048, allocations: 238.5 kB / 0.5625 GB, free: 2.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3049, allocations: 8.031 kB / 0.5626 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.3049, allocations: 34.69 kB / 0.5626 GB, free: 2.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.305, allocations: 8.938 kB / 0.5626 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.866e-05/0.3051, allocations: 106.5 kB / 0.5627 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3051, allocations: 4.375 kB / 0.5627 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.3051, allocations: 4.375 kB / 0.5627 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.626e-05/0.3052, allocations: 55.95 kB / 0.5628 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3052, allocations: 7.938 kB / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.3052, allocations: 0 / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.3052, allocations: 0 / 0.5628 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.488e-05/0.3053, allocations: 4 kB / 0.5628 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.3056, allocations: 346.6 kB / 0.5631 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.3057, allocations: 177 kB / 0.5633 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.3057, allocations: 84.17 kB / 0.5634 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3057, allocations: 79.28 kB / 0.5634 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/0.3058, allocations: 105.8 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3058, allocations: 0 / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.007e-05/0.3059, allocations: 37.59 kB / 0.5636 GB, free: 1.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3059, allocations: 130.7 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.841e-05/0.306, allocations: 91.83 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.306, allocations: 29.64 kB / 0.5638 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.159e-05/0.3061, allocations: 80.14 kB / 0.5639 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-06/0.3061, allocations: 4 kB / 0.5639 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3061, allocations: 17.7 kB / 0.5639 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3062, allocations: 310.8 kB / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.133e-06/0.3062, allocations: 0 / 0.5642 GB, free: 332 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-06/0.3062, allocations: 4 kB / 0.5642 GB, free: 328 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.3063, allocations: 13.08 kB / 0.5642 GB, free: 312 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3063, allocations: 3.938 kB / 0.5642 GB, free: 308 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.458e-05/0.3064, allocations: 37.64 kB / 0.5643 GB, free: 264 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3064, allocations: 4 kB / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3064, allocations: 0 / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3064, allocations: 0 / 0.5643 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.577e-05/0.3064, allocations: 4 kB / 0.5643 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3064, allocations: 3.984 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.3064, allocations: 3.984 kB / 0.5643 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.3064, allocations: 0 / 0.5643 GB, free: 248 kB / 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 (1): * Single equations (assignments): 1 * 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.0001025/0.3065, allocations: 193.1 kB / 0.5645 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.3066, allocations: 105 kB / 0.5646 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.925e-05/0.3067, allocations: 111.7 kB / 0.5647 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.46e-05/0.3068, allocations: 176.3 kB / 0.5648 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.638e-05/0.3069, allocations: 184.2 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/0.3069, allocations: 180.2 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.3072, allocations: 381.2 kB / 0.5655 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.422e-05/0.3072, allocations: 104.9 kB / 0.5656 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.686e-05/0.3073, allocations: 105 kB / 0.5657 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.62e-05/0.3073, allocations: 184.2 kB / 0.5659 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.688e-05/0.3074, allocations: 180.3 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.467e-05/0.3075, allocations: 180.3 kB / 0.5663 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.583e-05/0.3076, allocations: 184.2 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.3077, allocations: 311.9 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.3078, allocations: 105 kB / 0.5668 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.3079, allocations: 188.3 kB / 0.567 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.581e-05/0.308, allocations: 108.9 kB / 0.5671 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.308, allocations: 176.3 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.3081, allocations: 108.9 kB / 0.5674 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.968e-05/0.3081, allocations: 79.22 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3081, allocations: 4.094 kB / 0.5675 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.3083, allocations: 0 / 0.5675 GB, free: 12.77 MB / 414.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 (0): * Single equations (assignments): 0 * 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.0004257/0.3088, allocations: 0.8048 MB / 0.5683 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.5e-05/0.3088, allocations: 11.94 kB / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3088, allocations: 0 / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3088, allocations: 0 / 0.5683 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.3092, allocations: 455.7 kB / 0.5687 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00036/0.3096, allocations: 178.6 kB / 0.5689 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.739e-05/0.3096, allocations: 55.41 kB / 0.5689 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.615e-05/0.3096, allocations: 8 kB / 0.5689 GB, free: 11.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.3097, allocations: 7.438 kB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3097, allocations: 0 / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3356, allocations: 1.393 MB / 0.5703 GB, free: 9.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.55, allocations: 4 kB / 0.5703 GB, free: 9.898 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Machines_TestLinearPower.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Machines/TestLinearPower/TestLinearPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.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.419564161915332]