Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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.001169/0.001169, allocations: 83.62 kB / 21.43 MB, free: 3.129 MB / 18.57 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.005309/0.005309, allocations: 161.7 kB / 24.69 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8896/0.8896, allocations: 158.6 MB / 186.5 MB, free: 3.02 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 298.4 MB, free: 3.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.159e-05, allocations: 2.281 kB / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001738/0.00176, allocations: 1.19 MB / 299.6 MB, free: 2.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.003913, allocations: 2.027 MB / 301.6 MB, free: 308 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.358e-05/0.003937, allocations: 4 kB / 301.6 MB, free: 304 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.003955, allocations: 0 / 301.6 MB, free: 304 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1334/0.1373, allocations: 436.5 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.223e-05/0.1373, allocations: 1.906 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.1374, allocations: 11.72 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1374, allocations: 6.875 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.1375, allocations: 9.734 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.1375, allocations: 3.109 kB / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1376, allocations: 0 / 302.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006864/0.1382, allocations: 442.6 kB / 302.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1383, allocations: 2.031 kB / 302.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1383, allocations: 9.359 kB / 302.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.1388, allocations: 420.2 kB / 302.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1388, allocations: 0.5156 kB / 302.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1388, allocations: 4.438 kB / 302.9 MB, free: 13.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1388, allocations: 0 / 302.9 MB, free: 13.28 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003503/0.1391, allocations: 332.3 kB / 303.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1392, allocations: 13.36 kB / 303.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.1392, allocations: 112.5 kB / 303.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1393, allocations: 78.5 kB / 303.5 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.419e-05/0.1393, allocations: 187.2 kB / 303.7 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1394, allocations: 154.2 kB / 303.8 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1394, allocations: 153.9 kB / 304 MB, free: 12.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.283e-05/0.1394, allocations: 104.7 kB / 304.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1394, allocations: 76.53 kB / 304.1 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.918e-05/0.1394, allocations: 155.2 kB / 304.3 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1394, allocations: 161.5 kB / 304.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.512e-05/0.1395, allocations: 157.6 kB / 304.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001255/0.1396, allocations: 414.5 kB / 305 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.674e-05/0.1396, allocations: 171.9 kB / 305.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.133e-05/0.1396, allocations: 80.14 kB / 305.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.1396, allocations: 79.48 kB / 305.3 MB, free: 10.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.1398, allocations: 43.61 kB / 305.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 2.345e-06/0.1398, allocations: 0 / 305.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001181/0.1399, allocations: 48.89 kB / 305.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.451e-05/0.1399, allocations: 52.97 kB / 305.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/0.14, allocations: 99.52 kB / 305.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.521e-06/0.14, allocations: 28.39 kB / 305.6 MB, free: 10.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.552e-05/0.14, allocations: 82.56 kB / 305.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.308e-05/0.14, allocations: 1.312 kB / 305.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.101e-05/0.1401, allocations: 13.44 kB / 305.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.958e-05/0.1401, allocations: 316.5 kB / 306 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.1401, allocations: 1.156 kB / 306 MB, free: 10.19 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-06/0.1401, allocations: 2.641 kB / 306 MB, free: 10.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.904e-05/0.1401, allocations: 14.55 kB / 306 MB, free: 10.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1401, allocations: 0 / 306 MB, free: 10.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.048e-05/0.1401, allocations: 36.03 kB / 306 MB, free: 10.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1402, allocations: 10.19 kB / 306.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1402, allocations: 0 / 306.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1402, allocations: 0 / 306.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.497e-05/0.1402, allocations: 1.094 kB / 306.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1402, allocations: 0.75 kB / 306.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.896e-05/0.1402, allocations: 1.156 kB / 306.1 MB, free: 10.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1402, allocations: 8.781 kB / 306.1 MB, free: 10.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * 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.44e-05/0.1403, allocations: 109 kB / 306.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-06/0.1403, allocations: 2.141 kB / 306.2 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.1403, allocations: 16.05 kB / 306.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1403, allocations: 0 / 306.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1403, allocations: 1.875 kB / 306.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1403, allocations: 0.5625 kB / 306.2 MB, free: 10.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.451e-05/0.1404, allocations: 125.1 kB / 306.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1404, allocations: 0 / 306.3 MB, free: 9.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-06/0.1404, allocations: 5.812 kB / 306.3 MB, free: 9.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1404, allocations: 4 kB / 306.3 MB, free: 9.859 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.1404, allocations: 3.938 kB / 306.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1404, allocations: 1.062 kB / 306.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1404, allocations: 0.8438 kB / 306.3 MB, free: 9.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.788e-05/0.1405, allocations: 57.69 kB / 306.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-06/0.1405, allocations: 2.266 kB / 306.4 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.1405, allocations: 9.078 kB / 306.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-06/0.1405, allocations: 0 / 306.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.1405, allocations: 1.953 kB / 306.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1405, allocations: 0.7031 kB / 306.4 MB, free: 9.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.125e-05/0.1405, allocations: 84.69 kB / 306.5 MB, free: 9.715 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1405, allocations: 4 kB / 306.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003059/0.1408, allocations: 130.4 kB / 306.6 MB, free: 9.688 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0008442/0.1417, allocations: 1.004 MB / 307.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.23e-05/0.1417, allocations: 8.125 kB / 307.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1417, allocations: 0 / 307.6 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.1417, allocations: 6.125 kB / 307.6 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.1419, allocations: 5.797 kB / 307.6 MB, free: 8.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.1425, allocations: 1.145 MB / 308.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.574e-05/0.1425, allocations: 62 kB / 308.8 MB, free: 7.793 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.78e-05/0.1425, allocations: 8.109 kB / 308.9 MB, free: 7.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.1426, allocations: 14.97 kB / 308.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1426, allocations: 0 / 308.9 MB, free: 7.785 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0244/0.167, allocations: 4.63 MB / 313.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.661/6.828, allocations: 9 kB / 313.5 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel.fmu > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.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: 8.440054155886173]