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.001332/0.001332, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001442/0.001442, allocations: 215.3 kB / 23.75 MB, free: 4.668 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.977 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.2245/0.2245, allocations: 46.94 MB / 360.9 MB, free: 4.242 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.003037/0.003037, allocations: 63.89 kB / 0.4962 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2933, allocations: 66.03 MB / 0.5606 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.00238/0.2956, allocations: 1.218 MB / 0.5618 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008554/0.2965, allocations: 425.6 kB / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.196e-05/0.2965, allocations: 0 / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.2965, allocations: 0 / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.456e-05/0.2966, allocations: 0 / 0.5622 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.297, allocations: 67.8 kB / 0.5623 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.2971, allocations: 7.938 kB / 0.5623 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.2971, allocations: 11.92 kB / 0.5623 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.647e-05/0.2971, allocations: 8 kB / 0.5623 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.2973, allocations: 31.95 kB / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.863e-06/0.2973, allocations: 0 / 0.5624 GB, free: 2.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.2974, allocations: 8 kB / 0.5624 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.057e-06/0.2974, allocations: 4 kB / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.2974, allocations: 0 / 0.5624 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.2975, allocations: 15.78 kB / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2975, allocations: 0 / 0.5624 GB, free: 2.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2975, allocations: 4 kB / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.2975, allocations: 3.938 kB / 0.5624 GB, free: 2.652 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.0002609/0.2978, allocations: 238.5 kB / 0.5626 GB, free: 2.387 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2978, allocations: 12.03 kB / 0.5626 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.123e-05/0.2978, allocations: 30.75 kB / 0.5627 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2979, allocations: 4.938 kB / 0.5627 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.092e-05/0.298, allocations: 106.5 kB / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.298, allocations: 384 / 0.5628 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.298, allocations: 4.375 kB / 0.5628 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.2982, allocations: 38.27 kB / 0.5628 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2982, allocations: 7.875 kB / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.2982, allocations: 0 / 0.5628 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2982, allocations: 3.938 kB / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.427e-05/0.2982, allocations: 0 / 0.5628 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.2985, allocations: 350.6 kB / 0.5632 GB, free: 1.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.945e-05/0.2986, allocations: 177.1 kB / 0.5633 GB, free: 1.574 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.617e-05/0.2986, allocations: 80.14 kB / 0.5634 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.2987, allocations: 79.22 kB / 0.5635 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.2987, allocations: 105.8 kB / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.2987, allocations: 0 / 0.5636 GB, free: 1.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.334e-05/0.2988, allocations: 29.66 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.2989, allocations: 130.7 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.299, allocations: 99.83 kB / 0.5638 GB, free: 1.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.299, allocations: 29.69 kB / 0.5639 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.299, allocations: 80.14 kB / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.299, allocations: 0 / 0.5639 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.2991, allocations: 13.72 kB / 0.5639 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2992, allocations: 310.8 kB / 0.5642 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-06/0.2992, allocations: 4.125 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.2992, allocations: 3.938 kB / 0.5643 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.2992, allocations: 16.89 kB / 0.5643 GB, free: 0.543 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2992, allocations: 3.938 kB / 0.5643 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.059e-05/0.2993, allocations: 29.7 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2993, allocations: 6.656 kB / 0.5643 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.2993, allocations: 3.984 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2994, allocations: 4 kB / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.582e-05/0.2994, allocations: 96 / 0.5643 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.2994, allocations: 4 kB / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.047e-05/0.2994, allocations: 0 / 0.5643 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2994, allocations: 0 / 0.5643 GB, free: 500 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.0001036/0.2995, allocations: 196.9 kB / 0.5645 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.2996, allocations: 101 kB / 0.5646 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/0.2996, allocations: 115.8 kB / 0.5647 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.935e-05/0.2997, allocations: 196.1 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.542e-05/0.2998, allocations: 176.3 kB / 0.5651 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.611e-05/0.2999, allocations: 176.3 kB / 0.5652 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.3001, allocations: 373.2 kB / 0.5656 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.452e-05/0.3002, allocations: 113 kB / 0.5657 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.3002, allocations: 108.9 kB / 0.5658 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.37e-05/0.3003, allocations: 180.3 kB / 0.566 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.3004, allocations: 180.2 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.215e-05/0.3004, allocations: 180.3 kB / 0.5663 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.071e-05/0.3005, allocations: 180.2 kB / 0.5665 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.3007, allocations: 311.9 kB / 0.5668 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.3007, allocations: 109 kB / 0.5669 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.875e-05/0.3008, allocations: 192.2 kB / 0.5671 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.3009, allocations: 105 kB / 0.5672 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/0.301, allocations: 180.2 kB / 0.5673 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.301, allocations: 101 kB / 0.5674 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.3011, allocations: 83.28 kB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3011, allocations: 0 / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.3013, allocations: 0 / 0.5675 GB, free: 13 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.0004347/0.3017, allocations: 0.8047 MB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 7.516e-05/0.3018, allocations: 8.094 kB / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3018, allocations: 0 / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.3018, allocations: 0 / 0.5683 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.3022, allocations: 451.7 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.3025, allocations: 194.5 kB / 0.5689 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.3028, allocations: 0.6729 MB / 0.5696 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.3028, allocations: 0 / 0.5696 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.3029, allocations: 7.438 kB / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3029, allocations: 0 / 0.5696 GB, free: 10.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02576/0.3286, allocations: 0.9888 MB / 0.5706 GB, free: 9.914 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.02, allocations: 5.547 kB / 0.5706 GB, free: 9.914 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.878189693205059]