Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 164.1 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 177.1 MB / 204.7 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2097/0.2097, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 80.2 kB / 443.1 MB, free: 6.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.311, allocations: 66.06 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower): time 0.002173/0.3132, allocations: 1.225 MB / 0.4985 GB, free: 28.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.3138, allocations: 411.5 kB / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.21e-05/0.3138, allocations: 0 / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.3138, allocations: 0 / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.3139, allocations: 0 / 0.4989 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.3143, allocations: 73.73 kB / 0.4989 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.485e-05/0.3144, allocations: 3.188 kB / 0.4989 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.3144, allocations: 4 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.812e-05/0.3144, allocations: 3.219 kB / 0.4989 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002079/0.3146, allocations: 37.58 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.3147, allocations: 3.938 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.3147, allocations: 3.375 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.3147, allocations: 0 / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.3147, allocations: 3.219 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.14e-05/0.3148, allocations: 10.66 kB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.3148, allocations: 0 / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3148, allocations: 4 kB / 0.499 GB, free: 28.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.3148, allocations: 0 / 0.499 GB, free: 28.61 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.0002114/0.315, allocations: 244 kB / 0.4992 GB, free: 28.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.3151, allocations: 13.41 kB / 0.4992 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3152, allocations: 3.969 kB / 0.4992 GB, free: 28.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.341e-05/0.3152, allocations: 102.5 kB / 0.4993 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3153, allocations: 3.594 kB / 0.4993 GB, free: 28.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-06/0.3153, allocations: 4.375 kB / 0.4993 GB, free: 28.22 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.3153, allocations: 58.44 kB / 0.4994 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3154, allocations: 4.172 kB / 0.4994 GB, free: 28.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3154, allocations: 7.938 kB / 0.4994 GB, free: 28.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3154, allocations: 3.938 kB / 0.4994 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.562e-05/0.3154, allocations: 0 / 0.4994 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002047/0.3156, allocations: 336.8 kB / 0.4997 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.491e-05/0.3156, allocations: 165.1 kB / 0.4999 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.471e-05/0.3156, allocations: 83.3 kB / 0.5 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3157, allocations: 79.22 kB / 0.5001 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3157, allocations: 105.8 kB / 0.5002 GB, free: 27.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.3157, allocations: 0 / 0.5002 GB, free: 27.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.867e-05/0.3157, allocations: 36.72 kB / 0.5002 GB, free: 27.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3158, allocations: 134.7 kB / 0.5003 GB, free: 27.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.033e-05/0.3158, allocations: 100.4 kB / 0.5004 GB, free: 27.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-06/0.3158, allocations: 25.7 kB / 0.5004 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.205e-05/0.3159, allocations: 84.12 kB / 0.5005 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.3159, allocations: 0 / 0.5005 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.191e-05/0.3159, allocations: 12.88 kB / 0.5005 GB, free: 26.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.253e-05/0.3159, allocations: 310.8 kB / 0.5008 GB, free: 26.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.223e-06/0.3159, allocations: 0 / 0.5008 GB, free: 26.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.189e-06/0.3159, allocations: 7.25 kB / 0.5008 GB, free: 26.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.316, allocations: 9.078 kB / 0.5008 GB, free: 26.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.316, allocations: 4 kB / 0.5008 GB, free: 26.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.351e-05/0.316, allocations: 43.09 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.316, allocations: 6.281 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.316, allocations: 0 / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3161, allocations: 0 / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.452e-05/0.3161, allocations: 0 / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.3161, allocations: 3.25 kB / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-06/0.3161, allocations: 0 / 0.5009 GB, free: 26.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.3161, allocations: 0 / 0.5009 GB, free: 26.56 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 4.419e-05/0.3162, allocations: 184.3 kB / 0.5011 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3162, allocations: 112.2 kB / 0.5012 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.3162, allocations: 115.7 kB / 0.5013 GB, free: 26.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.3162, allocations: 183.5 kB / 0.5015 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.308e-05/0.3163, allocations: 180.2 kB / 0.5016 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.3163, allocations: 182.9 kB / 0.5018 GB, free: 25.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.3164, allocations: 348.9 kB / 0.5021 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.3164, allocations: 108.1 kB / 0.5022 GB, free: 25.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.3164, allocations: 101 kB / 0.5023 GB, free: 25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.747e-05/0.3165, allocations: 190.9 kB / 0.5025 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.3165, allocations: 176.3 kB / 0.5027 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.3165, allocations: 180.3 kB / 0.5029 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.236e-05/0.3165, allocations: 183.2 kB / 0.503 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.958e-05/0.3166, allocations: 306.5 kB / 0.5033 GB, free: 23.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.3166, allocations: 116 kB / 0.5034 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3167, allocations: 183.4 kB / 0.5036 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.3167, allocations: 112.3 kB / 0.5037 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.3167, allocations: 176.3 kB / 0.5039 GB, free: 23.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3168, allocations: 111.9 kB / 0.504 GB, free: 23.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.644e-05/0.3168, allocations: 75.28 kB / 0.5041 GB, free: 23.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3168, allocations: 0 / 0.5041 GB, free: 23.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.317, allocations: 7.281 kB / 0.5041 GB, free: 23.16 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 8.365e-05/0.3171, allocations: 167.3 kB / 0.5042 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.726e-05/0.3171, allocations: 6.922 kB / 0.5042 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3171, allocations: 0 / 0.5042 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.3171, allocations: 0 / 0.5042 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3174, allocations: 462.8 kB / 0.5047 GB, free: 22.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.3176, allocations: 157.7 kB / 0.5048 GB, free: 22.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.041e-05/0.3176, allocations: 54.52 kB / 0.5049 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.608e-05/0.3176, allocations: 64 / 0.5049 GB, free: 22.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.963e-05/0.3177, allocations: 15.92 kB / 0.5049 GB, free: 22.29 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3177, allocations: 0 / 0.5049 GB, free: 22.29 MB / 446.1 MB Notification: Performance of Templates: time 0.002221/0.3199, allocations: 169.3 kB / 0.5051 GB, free: 22.23 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestLinearPower.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.78386548301205]