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.001718/0.001718, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.002084/0.002084, allocations: 160.8 kB / 24.5 MB, free: 3.715 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: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.21/0.21, allocations: 34.27 MB / 295.5 MB, free: 14.55 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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003045/0.003045, allocations: 63.88 kB / 443.2 MB, free: 6.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2842, allocations: 66.01 MB / 0.4972 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002096/0.2863, allocations: 1.218 MB / 0.4984 GB, free: 29.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006224/0.287, allocations: 411.6 kB / 0.4988 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.287, allocations: 0 / 0.4988 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.287, allocations: 0 / 0.4988 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.287, allocations: 0 / 0.4988 GB, free: 28.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.2874, allocations: 69.53 kB / 0.4989 GB, free: 28.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.712e-05/0.2875, allocations: 14.61 kB / 0.4989 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.2875, allocations: 0 / 0.4989 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.332e-05/0.2875, allocations: 3.938 kB / 0.4989 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.2877, allocations: 36.52 kB / 0.4989 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.273e-06/0.2877, allocations: 0 / 0.4989 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.2878, allocations: 7.156 kB / 0.4989 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.031e-05/0.2878, allocations: 3.938 kB / 0.4989 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.129e-05/0.2878, allocations: 3.094 kB / 0.4989 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.112e-05/0.2879, allocations: 10.58 kB / 0.499 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2879, allocations: 0 / 0.499 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2879, allocations: 4 kB / 0.499 GB, free: 28.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2879, allocations: 0 / 0.499 GB, free: 28.7 MB / 446.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.0001943/0.2881, allocations: 247.8 kB / 0.4992 GB, free: 28.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.2881, allocations: 9.438 kB / 0.4992 GB, free: 28.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.2882, allocations: 8.125 kB / 0.4992 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.975e-05/0.2883, allocations: 106.5 kB / 0.4993 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2883, allocations: 384 / 0.4993 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.2883, allocations: 3.594 kB / 0.4993 GB, free: 28.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.884e-05/0.2884, allocations: 59.53 kB / 0.4994 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2884, allocations: 192 / 0.4994 GB, free: 28.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2884, allocations: 11.16 kB / 0.4994 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.2884, allocations: 0 / 0.4994 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.35e-05/0.2884, allocations: 0 / 0.4994 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001737/0.2886, allocations: 332.7 kB / 0.4997 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.868e-05/0.2886, allocations: 169.1 kB / 0.4999 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.165e-05/0.2886, allocations: 80.14 kB / 0.4999 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.2886, allocations: 82.34 kB / 0.5 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2887, allocations: 105.8 kB / 0.5001 GB, free: 27.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2887, allocations: 0 / 0.5001 GB, free: 27.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.326e-05/0.2887, allocations: 32.81 kB / 0.5001 GB, free: 27.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2887, allocations: 134.6 kB / 0.5003 GB, free: 27.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.533e-05/0.2888, allocations: 97.38 kB / 0.5004 GB, free: 27.15 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-06/0.2888, allocations: 25.7 kB / 0.5004 GB, free: 27.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.903e-05/0.2888, allocations: 83.33 kB / 0.5005 GB, free: 27.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-06/0.2888, allocations: 3.938 kB / 0.5005 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.2888, allocations: 12.94 kB / 0.5005 GB, free: 27.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.309e-05/0.2889, allocations: 310.8 kB / 0.5008 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.492e-06/0.2889, allocations: 0 / 0.5008 GB, free: 26.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.496e-06/0.2889, allocations: 0 / 0.5008 GB, free: 26.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.562e-05/0.2889, allocations: 16.42 kB / 0.5008 GB, free: 26.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2889, allocations: 0 / 0.5008 GB, free: 26.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.792e-05/0.289, allocations: 47.28 kB / 0.5008 GB, free: 26.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.289, allocations: 3.156 kB / 0.5009 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.289, allocations: 0 / 0.5009 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.289, allocations: 7 kB / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.038e-05/0.289, allocations: 0 / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.289, allocations: 0 / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.207e-06/0.289, allocations: 0 / 0.5009 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.289, allocations: 3.156 kB / 0.5009 GB, free: 26.64 MB / 446.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 3.783e-05/0.2891, allocations: 185.8 kB / 0.501 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.2891, allocations: 111.5 kB / 0.5011 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.758e-05/0.2891, allocations: 111.7 kB / 0.5012 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.2891, allocations: 187.4 kB / 0.5014 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.2892, allocations: 176.3 kB / 0.5016 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.2892, allocations: 180.2 kB / 0.5018 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.596e-05/0.2893, allocations: 351.2 kB / 0.5021 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.2893, allocations: 108.1 kB / 0.5022 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.2893, allocations: 105 kB / 0.5023 GB, free: 25.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/0.2893, allocations: 183.7 kB / 0.5025 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.2893, allocations: 183.3 kB / 0.5027 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-05/0.2894, allocations: 180.3 kB / 0.5028 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.912e-05/0.2894, allocations: 187.3 kB / 0.503 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.864e-05/0.2894, allocations: 306.6 kB / 0.5033 GB, free: 24.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.2894, allocations: 112.2 kB / 0.5034 GB, free: 23.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.2895, allocations: 180.3 kB / 0.5036 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.226e-05/0.2895, allocations: 111.5 kB / 0.5037 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/0.2895, allocations: 180.3 kB / 0.5039 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.2895, allocations: 104.9 kB / 0.504 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.437e-05/0.2896, allocations: 78.62 kB / 0.504 GB, free: 23.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2896, allocations: 0 / 0.504 GB, free: 23.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002133/0.2898, allocations: 8.031 kB / 0.504 GB, free: 23.25 MB / 446.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 6.135e-05/0.2898, allocations: 170.4 kB / 0.5042 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.722e-05/0.2899, allocations: 6.656 kB / 0.5042 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2899, allocations: 0 / 0.5042 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.2899, allocations: 0 / 0.5042 GB, free: 23.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2901, allocations: 458.9 kB / 0.5046 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.2903, allocations: 161.3 kB / 0.5048 GB, free: 22.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.374e-05/0.2903, allocations: 54.55 kB / 0.5049 GB, free: 22.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.42e-05/0.2903, allocations: 7.438 kB / 0.5049 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.271e-05/0.2903, allocations: 8.5 kB / 0.5049 GB, free: 22.37 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2903, allocations: 0 / 0.5049 GB, free: 22.37 MB / 446.1 MB Notification: Performance of Templates: time 0.001815/0.2922, allocations: 170.1 kB / 0.505 GB, free: 22.31 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] 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: 4.7649715499719605]