Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002927/0.004057, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002442, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9584/0.9584, allocations: 173.4 MB / 186 MB, free: 7.543 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1779/1.136, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 239.8 MB, free: 6.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.561e-05, allocations: 2.312 kB / 239.8 MB, free: 6.32 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006666/0.006702, allocations: 4.174 MB / 243.9 MB, free: 2.145 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.009043, allocations: 0.9431 MB / 244.9 MB, free: 1.199 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002691/0.009312, allocations: 11.94 kB / 244.9 MB, free: 1.188 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.009525, allocations: 96.75 kB / 245 MB, free: 1.094 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005337/0.01006, allocations: 216.2 kB / 245.2 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.0104, allocations: 161.4 kB / 245.4 MB, free: 0.7227 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008293/0.01123, allocations: 0.7597 MB / 246.1 MB, free: 15.96 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.01153, allocations: 168.2 kB / 246.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006221/0.01216, allocations: 476.8 kB / 246.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003816/0.01254, allocations: 247.9 kB / 247 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.01264, allocations: 66.53 kB / 247.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.01275, allocations: 60 kB / 247.1 MB, free: 14.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.0129, allocations: 111.6 kB / 247.2 MB, free: 14.85 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002236/0.01312, allocations: 187.6 kB / 247.4 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.01368, allocations: 450.3 kB / 247.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.448e-05/0.0137, allocations: 4 kB / 247.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.0137, allocations: 0 / 247.9 MB, free: 14.22 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.01372, allocations: 1.469 kB / 247.9 MB, free: 14.22 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001253/0.01497, allocations: 0.9485 MB / 248.8 MB, free: 13.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.015, allocations: 12.03 kB / 248.8 MB, free: 13.24 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.01509, allocations: 84.86 kB / 248.9 MB, free: 13.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.01533, allocations: 268.6 kB / 249.2 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.01535, allocations: 37.69 kB / 249.2 MB, free: 12.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.0154, allocations: 57.27 kB / 249.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.01575, allocations: 423.5 kB / 249.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01576, allocations: 1.969 kB / 249.7 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.01579, allocations: 28.12 kB / 249.7 MB, free: 12.3 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.0158, allocations: 12 kB / 249.7 MB, free: 12.29 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.016, allocations: 187.4 kB / 249.9 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01719, allocations: 1.446 MB / 251.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.01751, allocations: 385.7 kB / 251.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.01769, allocations: 210.9 kB / 251.9 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.01772, allocations: 16.44 kB / 251.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.01774, allocations: 43 kB / 252 MB, free: 9.957 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.382e-06/0.01774, allocations: 0 / 252 MB, free: 9.957 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001592/0.01933, allocations: 1.137 MB / 253.1 MB, free: 8.773 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.01935, allocations: 59.84 kB / 253.2 MB, free: 8.703 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.01951, allocations: 303.4 kB / 253.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.01953, allocations: 33.7 kB / 253.5 MB, free: 8.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.0196, allocations: 205.9 kB / 253.7 MB, free: 8.148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.01969, allocations: 214.1 kB / 253.9 MB, free: 7.938 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.736e-05/0.01977, allocations: 90.3 kB / 254 MB, free: 7.844 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.01987, allocations: 362.7 kB / 254.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.01993, allocations: 49.3 kB / 254.4 MB, free: 7.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.981e-05/0.02002, allocations: 104.8 kB / 254.5 MB, free: 7.324 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.02019, allocations: 204.8 kB / 254.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.02019, allocations: 0 / 254.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003464/0.02054, allocations: 376.4 kB / 255.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.02055, allocations: 4 kB / 255.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.02056, allocations: 7.922 kB / 255.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003296/0.02089, allocations: 199.2 kB / 255.3 MB, free: 6.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.02106, allocations: 71.89 kB / 255.4 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.02385, allocations: 6.043 MB / 261.4 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.02394, allocations: 15.98 kB / 261.4 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.02396, allocations: 12 kB / 261.4 MB, free: 32 kB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.02407, allocations: 148.1 kB / 261.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.02412, allocations: 51.95 kB / 261.6 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.02417, allocations: 60.75 kB / 261.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.02417, allocations: 4 kB / 261.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.02417, allocations: 4 kB / 261.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.02418, allocations: 3.984 kB / 261.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007229/0.0249, allocations: 0.7223 MB / 262.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.0249, allocations: 0 / 262.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.02506, allocations: 67.94 kB / 262.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.002e-05/0.02514, allocations: 51.66 kB / 262.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.02542, allocations: 197.9 kB / 262.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.02544, allocations: 11.98 kB / 262.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002694/0.02813, allocations: 6.045 MB / 268.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02814, allocations: 96 / 268.8 MB, free: 8.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.02867, allocations: 0.5965 MB / 269.4 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.0287, allocations: 16.03 kB / 269.4 MB, free: 7.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.0288, allocations: 19.92 kB / 269.4 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.02887, allocations: 56.39 kB / 269.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.02889, allocations: 12 kB / 269.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.782e-05/0.02897, allocations: 120.7 kB / 269.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02897, allocations: 3.938 kB / 269.6 MB, free: 7.414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004612/0.02943, allocations: 172 kB / 269.8 MB, free: 7.246 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 9.657e-05/0.02952, allocations: 96.41 kB / 269.9 MB, free: 7.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.03015, allocations: 0.8318 MB / 270.7 MB, free: 6.254 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/0.03016, allocations: 8 kB / 270.7 MB, free: 6.246 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.03064, allocations: 0.7574 MB / 271.5 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.03111, allocations: 0.8999 MB / 272.4 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003348/0.03445, allocations: 1.16 MB / 273.5 MB, free: 3.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.333e-05/0.03454, allocations: 150.8 kB / 273.7 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.724e-05/0.03461, allocations: 40.38 kB / 273.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.03476, allocations: 127.3 kB / 273.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.03476, allocations: 0 / 273.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of Templates: time 0.01199/0.04675, allocations: 9.472 MB / 283.3 MB, free: 9.492 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.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: 2.916662961244583]