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.001819/0.001819, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001853/0.001853, allocations: 212 kB / 24.47 MB, free: 3.547 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.607/1.607, allocations: 207.7 MB / 235.3 MB, free: 9.809 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: translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel") [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.002613/0.002613, allocations: 58.58 kB / 347.7 MB, free: 9.418 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3284, allocations: 49.16 MB / 396.8 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002297/0.3307, allocations: 1.184 MB / 398 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003031/0.3338, allocations: 2.029 MB / 400 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.3338, allocations: 0 / 400 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.3338, allocations: 1.062 kB / 400 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.3351, allocations: 432.8 kB / 400.5 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.028e-05/0.3351, allocations: 9.688 kB / 400.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.3352, allocations: 14.06 kB / 400.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.494e-05/0.3352, allocations: 2.453 kB / 400.5 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.3353, allocations: 6.625 kB / 400.5 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.141e-05/0.3353, allocations: 7.5 kB / 400.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.018e-05/0.3353, allocations: 0 / 400.5 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008119/0.3362, allocations: 442.2 kB / 400.9 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.3362, allocations: 3.938 kB / 400.9 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.3362, allocations: 10.95 kB / 400.9 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.3368, allocations: 336.9 kB / 401.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3368, allocations: 5.094 kB / 401.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3368, allocations: 0 / 401.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3368, allocations: 0 / 401.3 MB, free: 6.781 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.0004084/0.3372, allocations: 332.8 kB / 401.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.3373, allocations: 15.23 kB / 401.6 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.3373, allocations: 76.22 kB / 401.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.3374, allocations: 187.4 kB / 401.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.3375, allocations: 152.6 kB / 402 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.3375, allocations: 155.9 kB / 402.2 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.362e-05/0.3375, allocations: 106.1 kB / 402.3 MB, free: 5.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3376, allocations: 76.94 kB / 402.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3376, allocations: 154.6 kB / 402.5 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.3376, allocations: 152.6 kB / 402.7 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.387e-05/0.3376, allocations: 151.6 kB / 402.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/0.3378, allocations: 402.3 kB / 403.2 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.009e-05/0.3378, allocations: 172.3 kB / 403.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.3379, allocations: 84.19 kB / 403.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.3379, allocations: 76.38 kB / 403.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.338, allocations: 50.66 kB / 403.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 2.104e-06/0.338, allocations: 5.062 kB / 403.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.3382, allocations: 43.97 kB / 403.6 MB, free: 4.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.3382, allocations: 52.62 kB / 403.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.164e-05/0.3383, allocations: 103.4 kB / 403.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.3383, allocations: 25.7 kB / 403.8 MB, free: 4.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.505e-05/0.3383, allocations: 81.8 kB / 403.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.3383, allocations: 0 / 403.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.3383, allocations: 16.45 kB / 403.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.336e-05/0.3384, allocations: 313 kB / 404.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.3384, allocations: 1.281 kB / 404.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.3384, allocations: 1.734 kB / 404.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.173e-05/0.3384, allocations: 11.33 kB / 404.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3384, allocations: 2 kB / 404.2 MB, free: 3.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.715e-05/0.3385, allocations: 43.84 kB / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3385, allocations: 4.531 kB / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3385, allocations: 1.938 kB / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3385, allocations: 0 / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.339e-05/0.3385, allocations: 1.156 kB / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.3385, allocations: 0.7969 kB / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.51e-05/0.3386, allocations: 0 / 404.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.3386, allocations: 5.25 kB / 404.3 MB, free: 3.73 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.479e-05/0.3386, allocations: 112 kB / 404.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.3386, allocations: 5.859 kB / 404.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.3387, allocations: 10.5 kB / 404.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3387, allocations: 3.984 kB / 404.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3387, allocations: 0 / 404.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.3387, allocations: 1.188 kB / 404.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.941e-05/0.3387, allocations: 101.6 kB / 404.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3387, allocations: 1.125 kB / 404.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-06/0.3387, allocations: 0.6562 kB / 404.5 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3387, allocations: 5 kB / 404.5 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.3388, allocations: 4.656 kB / 404.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.3388, allocations: 0 / 404.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3388, allocations: 5 kB / 404.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.902e-05/0.3388, allocations: 59.28 kB / 404.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-06/0.3388, allocations: 10 kB / 404.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.3388, allocations: 3.938 kB / 404.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.328e-05/0.3388, allocations: 2.031 kB / 404.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.3389, allocations: 0 / 404.6 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/0.3389, allocations: 6.406 kB / 404.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.3389, allocations: 80.3 kB / 404.7 MB, free: 3.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3389, allocations: 4.031 kB / 404.7 MB, free: 3.301 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004211/0.3393, allocations: 131.1 kB / 404.8 MB, free: 3.266 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.001183/0.3405, allocations: 485.4 kB / 405.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.3406, allocations: 15.22 kB / 405.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3406, allocations: 1.094 kB / 405.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.234e-06/0.3406, allocations: 5.281 kB / 405.3 MB, free: 2.973 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.3407, allocations: 9.375 kB / 405.3 MB, free: 2.965 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.341, allocations: 109.3 kB / 405.4 MB, free: 2.852 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.077e-05/0.341, allocations: 55.95 kB / 405.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.929e-05/0.3411, allocations: 10.25 kB / 405.5 MB, free: 2.781 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.3411, allocations: 11.84 kB / 405.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3411, allocations: 3.938 kB / 405.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of Templates: time 0.007687/0.3488, allocations: 2.774 MB / 408.3 MB, free: 2.273 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480] 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: 4.9959984086453915]