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.001754/0.001754, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002182/0.002182, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 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 1.589/1.589, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 51.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3124, allocations: 49.16 MB / 396.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002289/0.3147, allocations: 1.194 MB / 397.5 MB, free: 8.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3177, allocations: 2.123 MB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3177, allocations: 0.875 kB / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.3177, allocations: 0 / 399.6 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.3189, allocations: 433.4 kB / 400.1 MB, free: 6.543 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.253e-05/0.319, allocations: 5.828 kB / 400.1 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.463e-05/0.319, allocations: 9.344 kB / 400.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.3191, allocations: 2.406 kB / 400.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.3191, allocations: 6.531 kB / 400.1 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000399/0.3195, allocations: 13.53 kB / 400.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3195, allocations: 1.375 kB / 400.1 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000752/0.3203, allocations: 492.5 kB / 400.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.3203, allocations: 0 / 400.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.3203, allocations: 2.531 kB / 400.6 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.3208, allocations: 334.8 kB / 400.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3208, allocations: 0.9375 kB / 400.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.3208, allocations: 0.7031 kB / 400.9 MB, free: 6.258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3208, allocations: 0 / 400.9 MB, free: 6.258 MB / 318.1 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.0003588/0.3212, allocations: 337.7 kB / 401.2 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.3212, allocations: 12.83 kB / 401.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.3213, allocations: 115.3 kB / 401.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.752e-05/0.3213, allocations: 77.16 kB / 401.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3214, allocations: 191.6 kB / 401.6 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.3214, allocations: 152.2 kB / 401.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.3215, allocations: 155.1 kB / 401.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.339e-05/0.3215, allocations: 102.6 kB / 402 MB, free: 5.129 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.3215, allocations: 87.27 kB / 402.1 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.3215, allocations: 151.3 kB / 402.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.3216, allocations: 154.5 kB / 402.4 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.3216, allocations: 155.6 kB / 402.6 MB, free: 4.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.3217, allocations: 422.2 kB / 403 MB, free: 4.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.3218, allocations: 175 kB / 403.1 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.806e-05/0.3218, allocations: 85.75 kB / 403.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3218, allocations: 75.28 kB / 403.3 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.322, allocations: 46.3 kB / 403.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.322, allocations: 4 kB / 403.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.3221, allocations: 40.22 kB / 403.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.3221, allocations: 52.89 kB / 403.4 MB, free: 3.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.3222, allocations: 101.7 kB / 403.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.3222, allocations: 27.88 kB / 403.6 MB, free: 3.512 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.3222, allocations: 80.14 kB / 403.6 MB, free: 3.43 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.3222, allocations: 1.469 kB / 403.7 MB, free: 3.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.3223, allocations: 12.02 kB / 403.7 MB, free: 3.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.549e-05/0.3223, allocations: 321.2 kB / 404 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-06/0.3223, allocations: 4.734 kB / 404 MB, free: 3.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.619e-06/0.3223, allocations: 1.5 kB / 404 MB, free: 3.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.889e-05/0.3224, allocations: 7.828 kB / 404 MB, free: 3.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3224, allocations: 3.938 kB / 404 MB, free: 3.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.434e-05/0.3224, allocations: 32.47 kB / 404 MB, free: 3.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.3224, allocations: 9.281 kB / 404 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3224, allocations: 0.7969 kB / 404 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3224, allocations: 5.469 kB / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.837e-05/0.3225, allocations: 0 / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3225, allocations: 0.6094 kB / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.3225, allocations: 1.031 kB / 404 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3225, allocations: 0 / 404 MB, free: 3.039 MB / 318.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: 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 5.35e-05/0.3225, allocations: 120.5 kB / 404.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.3225, allocations: 2.422 kB / 404.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.461e-05/0.3226, allocations: 9.594 kB / 404.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3226, allocations: 0 / 404.2 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3226, allocations: 5.219 kB / 404.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3226, allocations: 0 / 404.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.726e-05/0.3227, allocations: 127 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3227, allocations: 0 / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.517e-06/0.3227, allocations: 0.75 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.3227, allocations: 1.469 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.3227, allocations: 0 / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3227, allocations: 0.6562 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3227, allocations: 1.438 kB / 404.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.44e-05/0.3227, allocations: 61.39 kB / 404.4 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.3227, allocations: 9.812 kB / 404.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.3228, allocations: 1.188 kB / 404.4 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.4e-05/0.3228, allocations: 4.656 kB / 404.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.058e-05/0.3228, allocations: 5.578 kB / 404.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-06/0.3228, allocations: 0 / 404.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.455e-05/0.3228, allocations: 81.7 kB / 404.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3228, allocations: 0 / 404.5 MB, free: 2.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004663/0.3233, allocations: 134.1 kB / 404.6 MB, free: 2.543 MB / 318.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: 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.001202/0.3245, allocations: 0.9637 MB / 405.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.082e-05/0.3245, allocations: 4.75 kB / 405.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3245, allocations: 4.062 kB / 405.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-06/0.3246, allocations: 6.062 kB / 405.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.3247, allocations: 6.703 kB / 405.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.3255, allocations: 1.154 MB / 406.7 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.3256, allocations: 0.6744 MB / 407.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.3257, allocations: 7.859 kB / 407.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3257, allocations: 13.72 kB / 407.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.3257, allocations: 0 / 407.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/0.3629, allocations: 4.035 MB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.27, allocations: 17.03 kB / 411.5 MB, free: 14.64 MB / 334.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins1/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: 13.84431430301629]