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.0008509/0.0008509, allocations: 91.61 kB / 22.19 MB, free: 2.383 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.0008078/0.0008078, allocations: 161.7 kB / 25.45 MB, free: 9.348 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.8681/0.8681, allocations: 158.6 MB / 187.2 MB, free: 3.035 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: 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: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 299.7 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.557e-05, allocations: 2.281 kB / 299.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001709/0.001735, allocations: 1.178 MB / 300.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.003886, allocations: 2.027 MB / 302.9 MB, free: 3.719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.444e-05/0.003911, allocations: 4 kB / 302.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.00393, allocations: 0 / 302.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.005014, allocations: 446.3 kB / 303.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.236e-05/0.005036, allocations: 0 / 303.3 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.047e-05/0.005086, allocations: 15.94 kB / 303.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.547e-05/0.005122, allocations: 0 / 303.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.005157, allocations: 7.984 kB / 303.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.005233, allocations: 3.984 kB / 303.3 MB, free: 3.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.005245, allocations: 4 kB / 303.3 MB, free: 3.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005617/0.005807, allocations: 439.4 kB / 303.8 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.005821, allocations: 7.922 kB / 303.8 MB, free: 2.809 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.005839, allocations: 4 kB / 303.8 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004467/0.006286, allocations: 419 kB / 304.2 MB, free: 2.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.006289, allocations: 4 kB / 304.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.00629, allocations: 0 / 304.2 MB, free: 2.391 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5e-06/0.006295, allocations: 0 / 304.2 MB, free: 2.391 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.0003391/0.006634, allocations: 341.4 kB / 304.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.006673, allocations: 15.98 kB / 304.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.006722, allocations: 76.22 kB / 304.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.006834, allocations: 193 kB / 304.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.006873, allocations: 150.9 kB / 305 MB, free: 1.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.006907, allocations: 150.9 kB / 305.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.215e-05/0.00696, allocations: 105.5 kB / 305.2 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.00698, allocations: 91.16 kB / 305.3 MB, free: 1.227 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.184e-05/0.007022, allocations: 150.6 kB / 305.4 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.007058, allocations: 150.6 kB / 305.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.616e-05/0.007094, allocations: 154.6 kB / 305.7 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.00728, allocations: 401.6 kB / 306.1 MB, free: 364 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/0.007347, allocations: 169.1 kB / 306.3 MB, free: 184 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.297e-05/0.00737, allocations: 84.08 kB / 306.4 MB, free: 96 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.007392, allocations: 75.28 kB / 306.5 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.007513, allocations: 47.41 kB / 306.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.007514, allocations: 0 / 306.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.007657, allocations: 45.58 kB / 306.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.007693, allocations: 51.41 kB / 306.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.007762, allocations: 101.8 kB / 306.7 MB, free: 15.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001846/0.007947, allocations: 29.7 kB / 306.7 MB, free: 15.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.007974, allocations: 80.14 kB / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.007989, allocations: 3.953 kB / 306.8 MB, free: 15.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.008011, allocations: 13.72 kB / 306.8 MB, free: 15.6 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.008083, allocations: 314.8 kB / 307.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-06/0.00809, allocations: 0 / 307.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.931e-06/0.008096, allocations: 0 / 307.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.008121, allocations: 17.03 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.008124, allocations: 4 kB / 307.1 MB, free: 15.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.807e-05/0.008162, allocations: 37.64 kB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.008175, allocations: 8 kB / 307.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.00818, allocations: 3.938 kB / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.008192, allocations: 0 / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.07e-05/0.008213, allocations: 3.938 kB / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.008218, allocations: 0 / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.235e-05/0.00823, allocations: 0 / 307.2 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.008235, allocations: 0 / 307.2 MB, free: 15.2 MB / 298.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 5.365e-05/0.008288, allocations: 117.9 kB / 307.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-06/0.008293, allocations: 0 / 307.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.008316, allocations: 15.05 kB / 307.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008318, allocations: 0 / 307.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.008322, allocations: 0 / 307.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.008325, allocations: 0 / 307.3 MB, free: 15.06 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.883e-05/0.008393, allocations: 105.3 kB / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.008394, allocations: 0 / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.008396, allocations: 3.938 kB / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.008397, allocations: 0 / 307.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.84e-06/0.008402, allocations: 4 kB / 307.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.008403, allocations: 3.938 kB / 307.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.008404, allocations: 0 / 307.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.008e-05/0.008444, allocations: 57.08 kB / 307.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-06/0.00845, allocations: 3.984 kB / 307.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-06/0.00846, allocations: 4 kB / 307.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.008467, allocations: 7.938 kB / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.00848, allocations: 0 / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.008481, allocations: 0 / 307.5 MB, free: 14.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.712e-05/0.008508, allocations: 79.47 kB / 307.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008508, allocations: 0 / 307.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.008815, allocations: 139.6 kB / 307.7 MB, free: 14.61 MB / 298.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.0006775/0.009492, allocations: 0.5194 MB / 308.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 5.922e-05/0.009551, allocations: 0 / 308.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.009554, allocations: 4 kB / 308.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.009558, allocations: 3.938 kB / 308.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001068/0.009665, allocations: 4 kB / 308.3 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002324/0.009897, allocations: 134.7 kB / 308.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.513e-05/0.009932, allocations: 59.34 kB / 308.5 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.009949, allocations: 12.5 kB / 308.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009949, allocations: 0 / 308.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of Templates: time 0.003619/0.01357, allocations: 3.14 MB / 311.6 MB, free: 10.69 MB / 298.7 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: 5.064309224486351]