Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001931/0.001931, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002221/0.002221, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.09 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+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_4.1.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.1.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 47.92 kB / 373.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1063, allocations: 53.33 MB / 426.8 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.2043/0.3106, allocations: 4.292 MB / 431.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3126, allocations: 1.013 MB / 432.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.3129, allocations: 11.38 kB / 432.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002211/0.3131, allocations: 98.61 kB / 432.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.3135, allocations: 203.3 kB / 432.4 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3139, allocations: 183.7 kB / 432.6 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006507/0.3145, allocations: 0.7405 MB / 433.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.3148, allocations: 165.5 kB / 433.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.3151, allocations: 294.8 kB / 433.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.3154, allocations: 330.5 kB / 434.1 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.791e-05/0.3155, allocations: 59.88 kB / 434.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.3156, allocations: 66.25 kB / 434.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.3158, allocations: 145.3 kB / 434.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.316, allocations: 334.9 kB / 434.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.3167, allocations: 0.7222 MB / 435.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3167, allocations: 1.906 kB / 435.5 MB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3167, allocations: 3.938 kB / 435.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.3167, allocations: 0 / 435.5 MB, free: 7.457 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.00142/0.3182, allocations: 0.9343 MB / 436.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3182, allocations: 9.531 kB / 436.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.3186, allocations: 96.58 kB / 436.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004802/0.3191, allocations: 410.6 kB / 436.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.3191, allocations: 38.28 kB / 436.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.993e-05/0.3192, allocations: 54.92 kB / 437 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009471/0.3201, allocations: 0.5462 MB / 437.5 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.3202, allocations: 4 kB / 437.5 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.3202, allocations: 21.12 kB / 437.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.3202, allocations: 12.84 kB / 437.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/0.3211, allocations: 445.5 kB / 438 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.3237, allocations: 2.027 MB / 440 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.3246, allocations: 0.5959 MB / 440.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/0.3251, allocations: 359.7 kB / 441 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.969e-05/0.3252, allocations: 10.38 kB / 441 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3252, allocations: 41.5 kB / 441 MB, free: 4.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.693e-06/0.3252, allocations: 0 / 441 MB, free: 4.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.00447/0.3297, allocations: 2.025 MB / 443.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3297, allocations: 59.14 kB / 443.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004231/0.3301, allocations: 374.1 kB / 443.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.3301, allocations: 36.23 kB / 443.5 MB, free: 2.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.3303, allocations: 232.9 kB / 443.7 MB, free: 2.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3304, allocations: 212.5 kB / 443.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3305, allocations: 95.95 kB / 444 MB, free: 2.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.3306, allocations: 355.3 kB / 444.4 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.331, allocations: 165.4 kB / 444.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.3314, allocations: 216.3 kB / 444.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.3321, allocations: 383.7 kB / 445.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3321, allocations: 0 / 445.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001303/0.3334, allocations: 0.6576 MB / 445.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3334, allocations: 9.688 kB / 445.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3334, allocations: 1.672 kB / 445.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.3342, allocations: 257.2 kB / 446.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.3345, allocations: 60.72 kB / 446.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007802/0.3423, allocations: 7.502 MB / 453.6 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.3427, allocations: 17.42 kB / 453.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.3427, allocations: 18.25 kB / 453.7 MB, free: 10.3 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.0002938/0.343, allocations: 174 kB / 453.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.3431, allocations: 53.02 kB / 453.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001548/0.3433, allocations: 72.56 kB / 453.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.3433, allocations: 5.219 kB / 453.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.3433, allocations: 10.09 kB / 454 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3433, allocations: 3.188 kB / 454 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.3457, allocations: 1.325 MB / 455.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3458, allocations: 1.281 kB / 455.3 MB, free: 9.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003023/0.3461, allocations: 55.45 kB / 455.3 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000756/0.3468, allocations: 267.7 kB / 455.6 MB, free: 9.223 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.3469, allocations: 12.77 kB / 455.6 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008193/0.355, allocations: 7.506 MB / 463.1 MB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.355, allocations: 4 kB / 463.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.3572, allocations: 1.024 MB / 464.2 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.3575, allocations: 162 kB / 464.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.3576, allocations: 12.98 kB / 464.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.3578, allocations: 21.86 kB / 464.3 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.358, allocations: 53.41 kB / 464.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.358, allocations: 11.34 kB / 464.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003458/0.3584, allocations: 264.2 kB / 464.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3584, allocations: 0 / 464.7 MB, free: 1.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001/0.3594, allocations: 172 kB / 464.8 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.0001893/0.3596, allocations: 120.5 kB / 464.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.3615, allocations: 1.01 MB / 466 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3615, allocations: 0 / 466 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001326/0.3628, allocations: 0.8342 MB / 466.8 MB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3634, allocations: 85.47 kB / 466.9 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3659, allocations: 1.292 MB / 468.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3665, allocations: 0.8754 MB / 469 MB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3666, allocations: 52.91 kB / 469.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.3667, allocations: 30.59 kB / 469.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3667, allocations: 0 / 469.1 MB, free: 14.58 MB / 382.1 MB Notification: Performance of Templates: time 0.01812/0.3848, allocations: 9.224 MB / 478.4 MB, free: 10.38 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 5.455349028110504]