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.005653/0.005653, allocations: 98.45 kB / 21.96 MB, free: 5.211 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.001619/0.001619, allocations: 218.3 kB / 25.26 MB, free: 3.141 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.396/1.396, allocations: 207.7 MB / 236.1 MB, free: 9.812 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Utilities.Examples.readRealParameterModel,fileNamePrefix="Modelica_3_2_3_Modelica_Utilities_Examples_readRealParameterModel",fmuType="cs",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.001699/0.001699, allocations: 54.58 kB / 347.9 MB, free: 9.934 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2653, allocations: 49.16 MB / 397.1 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002327/0.2677, allocations: 1.192 MB / 398.3 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002933/0.2706, allocations: 2.017 MB / 400.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.503e-05/0.2706, allocations: 0 / 400.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.324e-05/0.2706, allocations: 0.75 kB / 400.3 MB, free: 6.727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.2719, allocations: 441.2 kB / 400.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.971e-05/0.2719, allocations: 5.797 kB / 400.7 MB, free: 6.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.272, allocations: 18.08 kB / 400.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.272, allocations: 2.141 kB / 400.8 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.195e-05/0.272, allocations: 6.672 kB / 400.8 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.72e-05/0.2721, allocations: 11.31 kB / 400.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.2721, allocations: 1.25 kB / 400.8 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000764/0.2729, allocations: 464.1 kB / 401.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.2729, allocations: 2.016 kB / 401.2 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.2729, allocations: 9.234 kB / 401.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.2735, allocations: 332.7 kB / 401.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2735, allocations: 0 / 401.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2735, allocations: 1.438 kB / 401.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.2735, allocations: 4 kB / 401.6 MB, free: 6.25 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.0003822/0.2739, allocations: 340.2 kB / 401.9 MB, free: 5.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.2739, allocations: 14.89 kB / 401.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.619e-05/0.274, allocations: 76.59 kB / 402 MB, free: 5.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.668e-05/0.274, allocations: 110 kB / 402.1 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.2741, allocations: 82.08 kB / 402.2 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.2742, allocations: 188.2 kB / 402.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.2742, allocations: 155.8 kB / 402.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.2742, allocations: 152.4 kB / 402.7 MB, free: 5.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.935e-05/0.2743, allocations: 105.9 kB / 402.8 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.2743, allocations: 79.28 kB / 402.9 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.2743, allocations: 152.2 kB / 403 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.2743, allocations: 155.5 kB / 403.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.2743, allocations: 155.4 kB / 403.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.2745, allocations: 419.4 kB / 403.7 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.145e-05/0.2745, allocations: 172 kB / 403.9 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.2746, allocations: 84.14 kB / 404 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2746, allocations: 75.84 kB / 404 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.2747, allocations: 51.64 kB / 404.1 MB, free: 3.676 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.094e-06/0.2747, allocations: 4 kB / 404.1 MB, free: 3.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001189/0.2748, allocations: 36.53 kB / 404.1 MB, free: 3.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2749, allocations: 52.61 kB / 404.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.2749, allocations: 106.3 kB / 404.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.402e-06/0.2749, allocations: 26.98 kB / 404.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.008e-05/0.275, allocations: 82.12 kB / 404.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.275, allocations: 0 / 404.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.275, allocations: 12.67 kB / 404.4 MB, free: 3.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.556e-05/0.275, allocations: 316.8 kB / 404.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.275, allocations: 4.5 kB / 404.7 MB, free: 3.02 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.275, allocations: 5.094 kB / 404.7 MB, free: 3.016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.934e-05/0.2751, allocations: 12.95 kB / 404.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2751, allocations: 0 / 404.7 MB, free: 3.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.467e-05/0.2751, allocations: 32.92 kB / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2751, allocations: 5.625 kB / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2751, allocations: 0 / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.2751, allocations: 0.6562 kB / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/0.2752, allocations: 1 kB / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2752, allocations: 0 / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.2752, allocations: 1.641 kB / 404.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2752, allocations: 8.031 kB / 404.8 MB, free: 2.965 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 4.711e-05/0.2752, allocations: 120.7 kB / 404.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.2753, allocations: 1.875 kB / 404.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.2753, allocations: 9.625 kB / 404.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.2753, allocations: 1.188 kB / 404.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2753, allocations: 0 / 404.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2753, allocations: 1.219 kB / 404.9 MB, free: 2.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.981e-05/0.2754, allocations: 125.5 kB / 405 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2754, allocations: 0 / 405 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-06/0.2754, allocations: 5.922 kB / 405 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.2754, allocations: 4 kB / 405 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.2754, allocations: 1.031 kB / 405 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2754, allocations: 0.75 kB / 405 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2754, allocations: 4 kB / 405.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.963e-05/0.2754, allocations: 58.94 kB / 405.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.111e-06/0.2754, allocations: 9.859 kB / 405.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2754, allocations: 1.594 kB / 405.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.2754, allocations: 0 / 405.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.2755, allocations: 5.703 kB / 405.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.2755, allocations: 0.9688 kB / 405.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.359e-05/0.2755, allocations: 85.22 kB / 405.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2755, allocations: 1.906 kB / 405.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003992/0.2759, allocations: 125.5 kB / 405.3 MB, free: 2.473 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.00114/0.277, allocations: 0.9686 MB / 406.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 6.701e-05/0.2771, allocations: 9.328 kB / 406.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2771, allocations: 0 / 406.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.2771, allocations: 6.156 kB / 406.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.2772, allocations: 9.75 kB / 406.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.278, allocations: 1.151 MB / 407.5 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.278, allocations: 57.52 kB / 407.5 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.717e-05/0.2781, allocations: 9.438 kB / 407.5 MB, free: 488 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.2781, allocations: 17.08 kB / 407.6 MB, free: 476 kB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2781, allocations: 0 / 407.6 MB, free: 476 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.306, allocations: 4.115 MB / 411.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.83, allocations: 14.58 kB / 411.7 MB, free: 15.13 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.187963347998448]