Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.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.0009908/0.0009908, allocations: 80.8 kB / 22.28 MB, free: 2.211 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.001161/0.001161, allocations: 166.7 kB / 25.7 MB, free: 8.457 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.9224/0.9224, allocations: 158.6 MB / 187.6 MB, free: 2.766 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.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 251.6 MB, free: 7.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.513e-05/1.652e-05, allocations: 2.312 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004176/0.004193, allocations: 4.117 MB / 255.7 MB, free: 3.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.005669, allocations: 0.9856 MB / 256.7 MB, free: 2.074 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.005855, allocations: 8 kB / 256.7 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.006058, allocations: 99 kB / 256.8 MB, free: 1.969 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.006473, allocations: 210.1 kB / 257 MB, free: 1.762 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.006741, allocations: 163.7 kB / 257.2 MB, free: 1.602 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.007351, allocations: 0.7629 MB / 257.9 MB, free: 0.8281 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.007579, allocations: 156.2 kB / 258.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.007971, allocations: 423 kB / 258.5 MB, free: 264 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002987/0.008269, allocations: 247.2 kB / 258.7 MB, free: 16 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.413e-05/0.008353, allocations: 64.05 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.323e-05/0.008427, allocations: 60 kB / 258.9 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.008548, allocations: 151.4 kB / 259 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.008739, allocations: 227.4 kB / 259.2 MB, free: 15.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.009178, allocations: 498.1 kB / 259.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.00918, allocations: 0 / 259.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00918, allocations: 4 kB / 259.7 MB, free: 15.03 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.009186, allocations: 0 / 259.7 MB, free: 15.03 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.0009523/0.01014, allocations: 0.8228 MB / 260.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.01017, allocations: 11.98 kB / 260.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.01027, allocations: 88.86 kB / 260.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.01059, allocations: 259.8 kB / 260.9 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.01062, allocations: 41.62 kB / 260.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.01067, allocations: 52.38 kB / 261 MB, free: 13.71 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.01113, allocations: 427.6 kB / 261.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.01115, allocations: 4.125 kB / 261.4 MB, free: 13.26 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.01118, allocations: 28.12 kB / 261.4 MB, free: 13.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.01119, allocations: 12 kB / 261.4 MB, free: 13.22 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.01147, allocations: 182.8 kB / 261.6 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.01307, allocations: 1.446 MB / 263.1 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.01351, allocations: 397.6 kB / 263.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.01376, allocations: 207 kB / 263.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.01379, allocations: 16.44 kB / 263.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.01381, allocations: 43.05 kB / 263.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.784e-06/0.01381, allocations: 0 / 263.7 MB, free: 10.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.002084/0.0159, allocations: 1.113 MB / 264.8 MB, free: 9.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.01593, allocations: 63.84 kB / 264.9 MB, free: 9.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.01613, allocations: 303.4 kB / 265.2 MB, free: 9.336 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.01616, allocations: 33.7 kB / 265.2 MB, free: 9.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.654e-05/0.01626, allocations: 201.9 kB / 265.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.01637, allocations: 214.1 kB / 265.6 MB, free: 8.887 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.01649, allocations: 94.25 kB / 265.7 MB, free: 8.789 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.01659, allocations: 358.7 kB / 266.1 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.334e-05/0.01669, allocations: 57.28 kB / 266.1 MB, free: 8.371 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.01681, allocations: 104.8 kB / 266.2 MB, free: 8.266 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.01705, allocations: 204.8 kB / 266.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01705, allocations: 0 / 266.4 MB, free: 8.059 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004819/0.01753, allocations: 368.4 kB / 266.8 MB, free: 7.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.01754, allocations: 12.03 kB / 266.8 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01755, allocations: 0 / 266.8 MB, free: 7.668 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004147/0.01796, allocations: 199.1 kB / 267 MB, free: 7.461 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.01818, allocations: 67.94 kB / 267.1 MB, free: 7.395 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/0.02185, allocations: 6.035 MB / 273.1 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.02197, allocations: 16 kB / 273.1 MB, free: 1 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.022, allocations: 8 kB / 273.1 MB, free: 0.9922 MB / 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.0001223/0.02212, allocations: 148.5 kB / 273.3 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.841e-05/0.02219, allocations: 47.97 kB / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.042e-05/0.02225, allocations: 68.77 kB / 273.4 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.02225, allocations: 4 kB / 273.4 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.02226, allocations: 4 kB / 273.4 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.02226, allocations: 3.984 kB / 273.4 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009706/0.02323, allocations: 0.7145 MB / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.02324, allocations: 0 / 274.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.02344, allocations: 67.89 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.02382, allocations: 206.3 kB / 274.4 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.02385, allocations: 12 kB / 274.4 MB, free: 15.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.02745, allocations: 6.037 MB / 280.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.02745, allocations: 0 / 280.4 MB, free: 9.277 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.02814, allocations: 0.5849 MB / 281 MB, free: 8.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.02824, allocations: 47.67 kB / 281 MB, free: 8.617 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.02828, allocations: 15.94 kB / 281.1 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.02843, allocations: 19.92 kB / 281.1 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.02853, allocations: 60.42 kB / 281.1 MB, free: 8.523 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.02855, allocations: 12 kB / 281.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.02865, allocations: 124.7 kB / 281.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02865, allocations: 0 / 281.3 MB, free: 8.387 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006863/0.02934, allocations: 176 kB / 281.4 MB, free: 8.215 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 0.0001035/0.02944, allocations: 92.36 kB / 281.5 MB, free: 8.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007845/0.03023, allocations: 0.8304 MB / 282.4 MB, free: 7.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.03023, allocations: 4 kB / 282.4 MB, free: 7.223 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005988/0.03083, allocations: 0.7407 MB / 283.1 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.03114, allocations: 85.92 kB / 283.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.03284, allocations: 1.063 MB / 284.3 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.03295, allocations: 146.8 kB / 284.4 MB, free: 5.082 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.03305, allocations: 40.38 kB / 284.4 MB, free: 5.043 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.03323, allocations: 123.3 kB / 284.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.03323, allocations: 0 / 284.6 MB, free: 4.922 MB / 266.7 MB Notification: Performance of Templates: time 0.01325/0.04648, allocations: 9.032 MB / 293.6 MB, free: 11.94 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1217093500308692]