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.001471/0.001471, allocations: 85.95 kB / 23 MB, free: 1.504 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.001629/0.001629, allocations: 175.7 kB / 26.39 MB, free: 7.988 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 1.016/1.016, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.804e-06/1.804e-06, allocations: 3.938 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.424e-05, allocations: 2.312 kB / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003791/0.003815, allocations: 4.07 MB / 256.3 MB, free: 3.145 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005301, allocations: 0.9393 MB / 257.3 MB, free: 2.195 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.00552, allocations: 12 kB / 257.3 MB, free: 2.184 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.005767, allocations: 98.94 kB / 257.4 MB, free: 2.086 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004189/0.006186, allocations: 214.1 kB / 257.6 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002855/0.006472, allocations: 167.7 kB / 257.8 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000592/0.007064, allocations: 0.7551 MB / 258.5 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.007287, allocations: 143.7 kB / 258.7 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003624/0.007649, allocations: 431 kB / 259.1 MB, free: 388 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002524/0.007902, allocations: 251.2 kB / 259.3 MB, free: 136 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/0.007965, allocations: 60 kB / 259.4 MB, free: 76 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.008021, allocations: 60 kB / 259.4 MB, free: 16 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.008149, allocations: 159.3 kB / 259.6 MB, free: 15.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.008305, allocations: 223.4 kB / 259.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003774/0.008682, allocations: 494.1 kB / 260.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.008685, allocations: 0 / 260.3 MB, free: 15.16 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.008685, allocations: 4 kB / 260.3 MB, free: 15.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.008691, allocations: 0 / 260.3 MB, free: 15.15 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.0008651/0.009556, allocations: 0.9514 MB / 261.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.00959, allocations: 15.98 kB / 261.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.009695, allocations: 116.5 kB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.00998, allocations: 314.5 kB / 261.7 MB, free: 13.7 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.01001, allocations: 37.69 kB / 261.7 MB, free: 13.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.01006, allocations: 60.27 kB / 261.8 MB, free: 13.6 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.01046, allocations: 427.4 kB / 262.2 MB, free: 13.15 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01047, allocations: 4.125 kB / 262.2 MB, free: 13.14 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.0105, allocations: 28.11 kB / 262.2 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.01051, allocations: 20 kB / 262.3 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.01075, allocations: 202.8 kB / 262.4 MB, free: 12.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.01225, allocations: 1.973 MB / 264.4 MB, free: 10.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.01264, allocations: 415.9 kB / 264.8 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.01285, allocations: 237.6 kB / 265.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.01288, allocations: 16.48 kB / 265.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.0129, allocations: 41.89 kB / 265.1 MB, free: 10.13 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 1.593e-06/0.0129, allocations: 3.938 kB / 265.1 MB, free: 10.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.001916/0.01482, allocations: 1.221 MB / 266.3 MB, free: 8.855 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.01486, allocations: 67.84 kB / 266.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.01506, allocations: 354.6 kB / 266.8 MB, free: 8.418 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.01509, allocations: 37.7 kB / 266.8 MB, free: 8.375 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.01521, allocations: 288 kB / 267.1 MB, free: 8.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.01532, allocations: 214.1 kB / 267.3 MB, free: 7.879 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.914e-05/0.01542, allocations: 99.95 kB / 267.4 MB, free: 7.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.01559, allocations: 0.5195 MB / 267.9 MB, free: 7.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.673e-05/0.01568, allocations: 65.25 kB / 268 MB, free: 7.176 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.01578, allocations: 118.5 kB / 268.1 MB, free: 7.051 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.01599, allocations: 211.7 kB / 268.3 MB, free: 6.832 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01599, allocations: 4 kB / 268.3 MB, free: 6.828 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004712/0.01646, allocations: 471.4 kB / 268.7 MB, free: 6.344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.01647, allocations: 4 kB / 268.8 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01648, allocations: 0 / 268.8 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003607/0.01684, allocations: 214.5 kB / 269 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.01699, allocations: 59.91 kB / 269 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.02135, allocations: 8.702 MB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.02149, allocations: 16 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.02151, allocations: 16 kB / 277.8 MB, free: 12.88 MB / 266.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.0001382/0.02164, allocations: 192.4 kB / 277.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.02171, allocations: 67.72 kB / 278 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.02177, allocations: 64.73 kB / 278.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02177, allocations: 8 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.02178, allocations: 0 / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.02179, allocations: 3.984 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.02314, allocations: 0.928 MB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.02315, allocations: 0 / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.02328, allocations: 51.91 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/0.02362, allocations: 218.8 kB / 279.3 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.02364, allocations: 12 kB / 279.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003972/0.02761, allocations: 8.706 MB / 288 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02761, allocations: 0 / 288 MB, free: 2.109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.02828, allocations: 0.7158 MB / 288.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.02838, allocations: 83.53 kB / 288.8 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.02841, allocations: 12 kB / 288.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.02853, allocations: 12 kB / 288.8 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.02861, allocations: 64.33 kB / 288.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02863, allocations: 11.98 kB / 288.9 MB, free: 1.176 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.02874, allocations: 239 kB / 289.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02874, allocations: 0 / 289.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005213/0.02926, allocations: 176 kB / 289.3 MB, free: 0.7695 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.0001075/0.02937, allocations: 111.2 kB / 289.4 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007377/0.0301, allocations: 1.072 MB / 290.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.03011, allocations: 0 / 290.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.03065, allocations: 0.9708 MB / 291.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.03095, allocations: 89.86 kB / 291.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.03239, allocations: 1.124 MB / 292.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.814e-05/0.03248, allocations: 146.8 kB / 292.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.698e-05/0.03255, allocations: 36.38 kB / 292.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.0327, allocations: 150.1 kB / 293 MB, free: 12.87 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0327, allocations: 0 / 293 MB, free: 12.87 MB / 282.7 MB Notification: Performance of Templates: time 0.0128/0.04549, allocations: 9.257 MB / 302.2 MB, free: 3.66 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 -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.4310369519516826]