Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001531/0.001531, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.473/1.473, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 75.86 kB / 374.8 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1122, allocations: 53.29 MB / 428.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.2469/0.3591, allocations: 4.298 MB / 432.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.3618, allocations: 1.012 MB / 433.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003185/0.3621, allocations: 10.34 kB / 433.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.3624, allocations: 97.31 kB / 433.5 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005576/0.363, allocations: 202.4 kB / 433.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.3634, allocations: 186.3 kB / 433.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008191/0.3642, allocations: 0.7334 MB / 434.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.3645, allocations: 161.9 kB / 434.8 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003953/0.3649, allocations: 298 kB / 435.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004182/0.3653, allocations: 327.5 kB / 435.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3654, allocations: 65.09 kB / 435.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.3656, allocations: 63.16 kB / 435.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000153/0.3658, allocations: 144.5 kB / 435.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.366, allocations: 334.4 kB / 436 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009111/0.367, allocations: 0.721 MB / 436.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.367, allocations: 0 / 436.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.367, allocations: 0 / 436.7 MB, free: 7.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.367, allocations: 1.438 kB / 436.7 MB, free: 7.473 MB / 350.1 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.001663/0.3686, allocations: 0.9369 MB / 437.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.3687, allocations: 9.781 kB / 437.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.3691, allocations: 99.14 kB / 437.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.3697, allocations: 407.3 kB / 438.1 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3697, allocations: 38.62 kB / 438.2 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.424e-05/0.3698, allocations: 58.33 kB / 438.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.3708, allocations: 0.5464 MB / 438.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.3708, allocations: 1.469 kB / 438.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.391e-05/0.3708, allocations: 20.73 kB / 438.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.3708, allocations: 13.03 kB / 438.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008912/0.3717, allocations: 447.8 kB / 439.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.3745, allocations: 2.033 MB / 441.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000859/0.3753, allocations: 0.5958 MB / 441.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.3759, allocations: 363.5 kB / 442.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.376, allocations: 7.125 kB / 442.2 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.376, allocations: 39.27 kB / 442.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.424e-06/0.376, allocations: 0 / 442.3 MB, free: 4.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004563/0.3806, allocations: 2.033 MB / 444.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.3806, allocations: 59.47 kB / 444.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.381, allocations: 369.1 kB / 444.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/0.3811, allocations: 35.92 kB / 444.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3812, allocations: 236.6 kB / 445 MB, free: 2.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.3813, allocations: 212.6 kB / 445.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.3815, allocations: 95.16 kB / 445.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.857e-05/0.3816, allocations: 355.4 kB / 445.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/0.3819, allocations: 168 kB / 445.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.3823, allocations: 216.7 kB / 446 MB, free: 1.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.3829, allocations: 383.9 kB / 446.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3829, allocations: 0 / 446.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001212/0.3841, allocations: 0.6561 MB / 447 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3842, allocations: 10.19 kB / 447.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3842, allocations: 0.5625 kB / 447.1 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.3849, allocations: 254.2 kB / 447.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.3852, allocations: 64.02 kB / 447.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007419/0.3926, allocations: 7.497 MB / 454.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.3931, allocations: 18.64 kB / 454.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.3931, allocations: 15.81 kB / 454.9 MB, free: 10.31 MB / 366.1 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.0003281/0.3934, allocations: 176.3 kB / 455.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.3936, allocations: 54.19 kB / 455.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.3937, allocations: 68.98 kB / 455.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3937, allocations: 6.625 kB / 455.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.3937, allocations: 9.25 kB / 455.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.3937, allocations: 4.266 kB / 455.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002367/0.3961, allocations: 1.323 MB / 456.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3961, allocations: 0 / 456.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.3964, allocations: 60.36 kB / 456.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007398/0.3971, allocations: 267.3 kB / 456.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/0.3972, allocations: 13.27 kB / 456.9 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007497/0.4047, allocations: 7.509 MB / 464.4 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.4047, allocations: 4 kB / 464.4 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.4067, allocations: 1.025 MB / 465.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.407, allocations: 158.6 kB / 465.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.163e-05/0.4071, allocations: 11.67 kB / 465.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.4073, allocations: 16.92 kB / 465.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.4075, allocations: 53.2 kB / 465.6 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.4076, allocations: 20.73 kB / 465.7 MB, free: 1.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003721/0.4079, allocations: 262.9 kB / 465.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4079, allocations: 0 / 465.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001026/0.409, allocations: 177.5 kB / 466.1 MB, free: 1.484 MB / 366.1 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.0002225/0.4092, allocations: 116.2 kB / 466.2 MB, free: 1.383 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001917/0.4111, allocations: 1.004 MB / 467.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4111, allocations: 0 / 467.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.4124, allocations: 0.8334 MB / 468 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.4129, allocations: 93.58 kB / 468.1 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.4156, allocations: 1.317 MB / 469.4 MB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/0.4161, allocations: 0.883 MB / 470.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4162, allocations: 35.8 kB / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4162, allocations: 0 / 470.4 MB, free: 14.56 MB / 382.1 MB Notification: Performance of Templates: time 0.01947/0.4357, allocations: 14.08 MB / 484.4 MB, free: 5.676 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.999018026981503]