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.00175/0.00175, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002119/0.002119, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2194/0.2194, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.001955/0.001955, allocations: 67.89 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 66.03 MB / 0.5606 GB, free: 4.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002369/0.3096, allocations: 1.221 MB / 0.5618 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008484/0.3105, allocations: 408 kB / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.08e-05/0.3105, allocations: 0 / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.3105, allocations: 0 / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.3106, allocations: 0 / 0.5622 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.3111, allocations: 75.73 kB / 0.5622 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.3112, allocations: 4 kB / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.3112, allocations: 0 / 0.5622 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.3112, allocations: 4 kB / 0.5622 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3115, allocations: 39.89 kB / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.3115, allocations: 0 / 0.5623 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.687e-05/0.3116, allocations: 4 kB / 0.5623 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.3116, allocations: 4 kB / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.3116, allocations: 0 / 0.5623 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.68e-05/0.3117, allocations: 27.77 kB / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3117, allocations: 0 / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3117, allocations: 0 / 0.5623 GB, free: 2.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3117, allocations: 0 / 0.5623 GB, free: 2.32 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.0003231/0.312, allocations: 230.5 kB / 0.5625 GB, free: 2.062 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3121, allocations: 12.03 kB / 0.5625 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.3121, allocations: 42.62 kB / 0.5626 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.3122, allocations: 8.922 kB / 0.5626 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.216e-05/0.3123, allocations: 102.5 kB / 0.5627 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3123, allocations: 384 / 0.5627 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-06/0.3123, allocations: 384 / 0.5627 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.3124, allocations: 59.97 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3125, allocations: 3.938 kB / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.3125, allocations: 0 / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/0.3125, allocations: 0 / 0.5628 GB, free: 1.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.898e-05/0.3125, allocations: 4 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.3128, allocations: 354.6 kB / 0.5631 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.3129, allocations: 169.1 kB / 0.5633 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.3129, allocations: 84.14 kB / 0.5633 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.313, allocations: 79.28 kB / 0.5634 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/0.313, allocations: 109.8 kB / 0.5635 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.313, allocations: 4 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.128e-05/0.3131, allocations: 37.58 kB / 0.5636 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.571e-05/0.3132, allocations: 126.7 kB / 0.5637 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.922e-05/0.3133, allocations: 95.83 kB / 0.5638 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3133, allocations: 25.7 kB / 0.5638 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.3133, allocations: 80.14 kB / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.3133, allocations: 0 / 0.5639 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.3134, allocations: 17.72 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3135, allocations: 310.8 kB / 0.5642 GB, free: 212 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.3135, allocations: 0 / 0.5642 GB, free: 212 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.3135, allocations: 8.125 kB / 0.5642 GB, free: 204 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/0.3135, allocations: 8.891 kB / 0.5642 GB, free: 192 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3136, allocations: 7.922 kB / 0.5642 GB, free: 184 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.236e-05/0.3136, allocations: 33.64 kB / 0.5642 GB, free: 144 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3136, allocations: 8 kB / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3137, allocations: 0 / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3137, allocations: 0 / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.3137, allocations: 0 / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3137, allocations: 0 / 0.5643 GB, free: 136 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.378e-05/0.3137, allocations: 12.09 kB / 0.5643 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3137, allocations: 0 / 0.5643 GB, free: 124 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.0001216/0.3138, allocations: 185.1 kB / 0.5644 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.3139, allocations: 109 kB / 0.5645 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.314, allocations: 115.7 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.899e-05/0.3141, allocations: 176.3 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-05/0.3141, allocations: 188.2 kB / 0.565 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.593e-05/0.3142, allocations: 180.3 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.3145, allocations: 377.2 kB / 0.5655 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-05/0.3145, allocations: 108.9 kB / 0.5656 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.366e-05/0.3146, allocations: 105 kB / 0.5657 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.421e-05/0.3147, allocations: 180.2 kB / 0.5659 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.311e-05/0.3148, allocations: 188.2 kB / 0.5661 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.311e-05/0.3148, allocations: 176.3 kB / 0.5663 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.823e-05/0.3149, allocations: 180.2 kB / 0.5664 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3151, allocations: 311.9 kB / 0.5667 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3152, allocations: 112.9 kB / 0.5668 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.3152, allocations: 180.3 kB / 0.567 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.3153, allocations: 108.9 kB / 0.5671 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.706e-05/0.3154, allocations: 176.3 kB / 0.5673 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.3155, allocations: 104.9 kB / 0.5674 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.801e-05/0.3155, allocations: 91.27 kB / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3155, allocations: 0 / 0.5675 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002164/0.3157, allocations: 0 / 0.5675 GB, free: 12.64 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.000471/0.3162, allocations: 0.797 MB / 0.5682 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.722e-05/0.3163, allocations: 7.938 kB / 0.5682 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3163, allocations: 4 kB / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3163, allocations: 0 / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.3167, allocations: 455.7 kB / 0.5687 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.3171, allocations: 190.8 kB / 0.5689 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.574e-05/0.3171, allocations: 51.36 kB / 0.5689 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.832e-05/0.3171, allocations: 0 / 0.5689 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.3172, allocations: 7.438 kB / 0.5689 GB, free: 11.04 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3172, allocations: 0 / 0.5689 GB, free: 11.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.3425, allocations: 1.422 MB / 0.5703 GB, free: 9.754 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.02, allocations: 2.031 kB / 0.5703 GB, free: 9.754 MB / 414.1 MB " [Timeout remaining time 649] (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: 13.834499235992553]