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.003384/0.003384, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002064/0.005447, 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.0009119/0.0009119, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001165/0.002077, 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.113/1.113, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1969/1.31, allocations: 49.5 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.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 2.945e-06/2.945e-06, allocations: 0 / 222 MB, free: 36 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.555e-05/3.849e-05, allocations: 2.312 kB / 222 MB, free: 32 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.007609/0.007647, allocations: 4.125 MB / 226.1 MB, free: 11.88 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003314/0.01096, allocations: 0.9934 MB / 227.1 MB, free: 10.87 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007244/0.01169, allocations: 8 kB / 227.1 MB, free: 10.86 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.01203, allocations: 99 kB / 227.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.01311, allocations: 206.1 kB / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.0137, allocations: 163.7 kB / 227.6 MB, free: 10.4 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.01495, allocations: 0.7513 MB / 228.4 MB, free: 9.648 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004009/0.01535, allocations: 156.2 kB / 228.5 MB, free: 9.496 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.01638, allocations: 496 kB / 229 MB, free: 9.008 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.01696, allocations: 247.3 kB / 229.2 MB, free: 8.766 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.0171, allocations: 60 kB / 229.3 MB, free: 8.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.01724, allocations: 60 kB / 229.3 MB, free: 8.648 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.01741, allocations: 111.5 kB / 229.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002648/0.01768, allocations: 187.6 kB / 229.6 MB, free: 8.355 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007128/0.01839, allocations: 446.3 kB / 230.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.756e-05/0.01841, allocations: 0 / 230.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.01841, allocations: 0 / 230.1 MB, free: 7.918 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.01844, allocations: 0 / 230.1 MB, free: 7.918 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001991/0.02043, allocations: 0.9592 MB / 231 MB, free: 6.934 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.02048, allocations: 8.031 kB / 231 MB, free: 6.926 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.02067, allocations: 88.86 kB / 231.1 MB, free: 6.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.02121, allocations: 263.6 kB / 231.4 MB, free: 6.555 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.461e-05/0.02125, allocations: 41.69 kB / 231.4 MB, free: 6.516 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.898e-05/0.02134, allocations: 52.36 kB / 231.5 MB, free: 6.465 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007471/0.02209, allocations: 423.5 kB / 231.9 MB, free: 6.02 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/0.02211, allocations: 192 / 231.9 MB, free: 6.02 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.793e-05/0.02216, allocations: 28.12 kB / 231.9 MB, free: 5.992 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.213e-05/0.02218, allocations: 12 kB / 231.9 MB, free: 5.98 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.02264, allocations: 186.8 kB / 232.1 MB, free: 5.793 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.0248, allocations: 1.45 MB / 233.6 MB, free: 4.297 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.02535, allocations: 393.5 kB / 233.9 MB, free: 3.898 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002369/0.02559, allocations: 207 kB / 234.2 MB, free: 3.695 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.02563, allocations: 20.44 kB / 234.2 MB, free: 3.676 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.02567, allocations: 43.05 kB / 234.2 MB, free: 3.625 MB / 234.7 MB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/0.02567, allocations: 0 / 234.2 MB, free: 3.625 MB / 234.7 MB Notification: Performance of matching and sorting (n=61): time 0.002423/0.02809, allocations: 1.14 MB / 235.4 MB, free: 2.434 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.02815, allocations: 63.83 kB / 235.4 MB, free: 2.359 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.02841, allocations: 291.4 kB / 235.7 MB, free: 2.066 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.02844, allocations: 37.7 kB / 235.7 MB, free: 2.023 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.02859, allocations: 209.9 kB / 235.9 MB, free: 1.812 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.02873, allocations: 206.2 kB / 236.1 MB, free: 1.609 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.02887, allocations: 98.25 kB / 236.2 MB, free: 1.508 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.02901, allocations: 354.7 kB / 236.6 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.06e-05/0.02909, allocations: 61.22 kB / 236.6 MB, free: 1.094 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.02921, allocations: 100.8 kB / 236.7 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.02945, allocations: 204.9 kB / 236.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02946, allocations: 0 / 236.9 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004888/0.02995, allocations: 372.4 kB / 237.3 MB, free: 412 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.985e-05/0.02998, allocations: 11.98 kB / 237.3 MB, free: 400 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.02999, allocations: 3.938 kB / 237.3 MB, free: 396 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000503/0.03049, allocations: 199.1 kB / 237.5 MB, free: 184 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.03077, allocations: 71.89 kB / 237.6 MB, free: 112 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005361/0.03613, allocations: 6.031 MB / 243.6 MB, free: 9.734 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.03638, allocations: 16.03 kB / 243.6 MB, free: 9.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.03641, allocations: 19.97 kB / 243.7 MB, free: 9.699 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.0001803/0.03659, allocations: 144.5 kB / 243.8 MB, free: 9.547 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.03667, allocations: 51.94 kB / 243.8 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.681e-05/0.03674, allocations: 60.75 kB / 243.9 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.03674, allocations: 8 kB / 243.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.03676, allocations: 0 / 243.9 MB, free: 9.426 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.03677, allocations: 7.984 kB / 243.9 MB, free: 9.418 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.0378, allocations: 0.7184 MB / 244.6 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.03781, allocations: 0 / 244.6 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.03803, allocations: 71.88 kB / 244.7 MB, free: 8.594 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.03814, allocations: 43.72 kB / 244.8 MB, free: 8.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.03854, allocations: 206.3 kB / 245 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.03858, allocations: 12 kB / 245 MB, free: 8.324 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004456/0.04303, allocations: 6.041 MB / 251 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.04304, allocations: 0 / 251 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008383/0.04387, allocations: 0.6043 MB / 251.6 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.04392, allocations: 12 kB / 251.6 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.04405, allocations: 15.94 kB / 251.6 MB, free: 1.27 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.0442, allocations: 56.39 kB / 251.7 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.04422, allocations: 11.98 kB / 251.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.04435, allocations: 124.7 kB / 251.8 MB, free: 1.082 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04435, allocations: 0 / 251.8 MB, free: 1.082 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007472/0.0451, allocations: 176 kB / 252 MB, free: 0.9102 MB / 250.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.000194/0.04529, allocations: 92.36 kB / 252.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.0465, allocations: 0.835 MB / 252.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.192e-05/0.04653, allocations: 8 kB / 252.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.0473, allocations: 0.7611 MB / 253.7 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/0.04856, allocations: 0.893 MB / 254.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0042/0.05276, allocations: 1.149 MB / 255.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001919/0.05295, allocations: 154.8 kB / 255.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.05309, allocations: 32.38 kB / 255.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.05329, allocations: 127.3 kB / 256 MB, free: 12.51 MB / 266.7 MB Notification: Performance of SimCode: time 2.445e-06/0.05329, allocations: 0 / 256 MB, free: 12.51 MB / 266.7 MB Notification: Performance of Templates: time 0.0162/0.06949, allocations: 9.487 MB / 265.5 MB, free: 3.047 MB / 266.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.428317134268582]