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.0008778/0.0008778, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001908/0.002785, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001625/0.001625, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.0033, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.038/1.038, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2181/1.256, allocations: 49.49 MB / 220.7 MB, free: 1.352 MB / 218.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 2.454e-06/2.454e-06, allocations: 0 / 222 MB, free: 84 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.902e-05/4.148e-05, allocations: 5.406 kB / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002738/0.00278, allocations: 1.274 MB / 223.2 MB, free: 14.79 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007478/0.01026, allocations: 2.136 MB / 225.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.01029, allocations: 4 kB / 225.4 MB, free: 12.64 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 1.727e-05/0.01031, allocations: 3.938 kB / 225.4 MB, free: 12.63 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.01187, allocations: 402.1 kB / 225.8 MB, free: 12.24 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.534e-05/0.0119, allocations: 0 / 225.8 MB, free: 12.24 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 8.968e-05/0.01199, allocations: 11.94 kB / 225.8 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.687e-05/0.01207, allocations: 3.984 kB / 225.8 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.01215, allocations: 8 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.01226, allocations: 7.938 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.01228, allocations: 0 / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/0.0133, allocations: 0.4915 MB / 226.3 MB, free: 11.71 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.01333, allocations: 4 kB / 226.3 MB, free: 11.71 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.01335, allocations: 3.938 kB / 226.3 MB, free: 11.71 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006683/0.01402, allocations: 355.1 kB / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.825e-05/0.01404, allocations: 0 / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.01404, allocations: 0 / 226.7 MB, free: 11.36 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.927e-05/0.01406, allocations: 0 / 226.7 MB, free: 11.36 MB / 234.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.0006448/0.0147, allocations: 347.8 kB / 227 MB, free: 11 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.01475, allocations: 8.031 kB / 227 MB, free: 10.99 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.176e-05/0.01482, allocations: 76.22 kB / 227.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.015, allocations: 196.9 kB / 227.3 MB, free: 10.7 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.01505, allocations: 158.9 kB / 227.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.0151, allocations: 150.9 kB / 227.6 MB, free: 10.39 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.89e-05/0.01517, allocations: 105.5 kB / 227.7 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.0152, allocations: 79.22 kB / 227.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.01527, allocations: 154.6 kB / 227.9 MB, free: 10.05 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.01534, allocations: 154.6 kB / 228.1 MB, free: 9.898 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.01541, allocations: 150.6 kB / 228.2 MB, free: 9.75 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.01566, allocations: 353.3 kB / 228.5 MB, free: 9.391 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.0158, allocations: 169.1 kB / 228.7 MB, free: 9.215 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.01583, allocations: 80.14 kB / 228.8 MB, free: 9.133 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.01587, allocations: 79.28 kB / 228.9 MB, free: 9.055 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.01605, allocations: 51.41 kB / 228.9 MB, free: 8.992 MB / 234.7 MB Notification: Performance of pre-optimization done (n=1): time 4.157e-06/0.01605, allocations: 0 / 228.9 MB, free: 8.992 MB / 234.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001796/0.01623, allocations: 45.61 kB / 229 MB, free: 8.941 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.01628, allocations: 55.34 kB / 229 MB, free: 8.875 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.01639, allocations: 106.7 kB / 229.1 MB, free: 8.758 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.0164, allocations: 25.7 kB / 229.1 MB, free: 8.727 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.01644, allocations: 80.14 kB / 229.2 MB, free: 8.645 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.01647, allocations: 0 / 229.2 MB, free: 8.645 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.01651, allocations: 17.7 kB / 229.2 MB, free: 8.621 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.01662, allocations: 322.9 kB / 229.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.01663, allocations: 0 / 229.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.711e-06/0.01664, allocations: 0 / 229.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.01666, allocations: 8.859 kB / 229.6 MB, free: 8.285 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01667, allocations: 0 / 229.6 MB, free: 8.285 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.465e-05/0.01674, allocations: 37.62 kB / 229.6 MB, free: 8.242 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.01676, allocations: 8 kB / 229.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01676, allocations: 0 / 229.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01678, allocations: 0 / 229.6 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.39e-05/0.01681, allocations: 4.031 kB / 229.6 MB, free: 8.23 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01682, allocations: 7.984 kB / 229.6 MB, free: 8.223 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.01684, allocations: 0 / 229.6 MB, free: 8.223 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.01685, allocations: 0 / 229.6 MB, free: 8.223 MB / 234.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 8.093e-05/0.01693, allocations: 113.8 kB / 229.7 MB, free: 8.102 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.01694, allocations: 0 / 229.7 MB, free: 8.102 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.01699, allocations: 15.09 kB / 229.7 MB, free: 8.09 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01699, allocations: 0 / 229.7 MB, free: 8.09 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.01699, allocations: 3.938 kB / 229.7 MB, free: 8.086 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.017, allocations: 0 / 229.7 MB, free: 8.086 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.0171, allocations: 61.91 kB / 229.8 MB, free: 8.008 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.0171, allocations: 4 kB / 229.8 MB, free: 8.004 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.01711, allocations: 0 / 229.8 MB, free: 8.004 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.01712, allocations: 0 / 229.8 MB, free: 8.004 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01712, allocations: 0 / 229.8 MB, free: 8.004 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.01712, allocations: 0 / 229.8 MB, free: 8.004 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01713, allocations: 11.92 kB / 229.8 MB, free: 7.992 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01713, allocations: 3.938 kB / 229.8 MB, free: 7.988 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.16e-05/0.0172, allocations: 49.14 kB / 229.9 MB, free: 7.922 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.01721, allocations: 4 kB / 229.9 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-06/0.01722, allocations: 0 / 229.9 MB, free: 7.918 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.282e-05/0.01723, allocations: 4.016 kB / 229.9 MB, free: 7.914 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.01723, allocations: 4 kB / 229.9 MB, free: 7.91 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.148e-05/0.01725, allocations: 16.78 kB / 229.9 MB, free: 7.891 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01725, allocations: 0 / 229.9 MB, free: 7.891 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004418/0.01769, allocations: 135.5 kB / 230 MB, free: 7.758 MB / 234.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.001232/0.01893, allocations: 0.5982 MB / 230.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.01903, allocations: 16.8 kB / 230.7 MB, free: 7.18 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.01903, allocations: 0 / 230.7 MB, free: 7.18 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.01904, allocations: 4.859 kB / 230.7 MB, free: 7.172 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.01915, allocations: 15.98 kB / 230.7 MB, free: 7.156 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007433/0.0199, allocations: 104 kB / 230.8 MB, free: 7.031 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.01994, allocations: 55.36 kB / 230.8 MB, free: 6.957 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.01997, allocations: 12.17 kB / 230.8 MB, free: 6.945 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.497e-05/0.02002, allocations: 51.38 kB / 230.9 MB, free: 6.895 MB / 234.7 MB Notification: Performance of SimCode: time 1.021e-06/0.02002, allocations: 0 / 230.9 MB, free: 6.895 MB / 234.7 MB Notification: Performance of Templates: time 0.006712/0.02673, allocations: 3.445 MB / 234.3 MB, free: 3.441 MB / 234.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0707441670820117]