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.001826/0.001826, allocations: 120 kB / 18.46 MB, free: 4.617 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.002512/0.002512, allocations: 212.3 kB / 21.42 MB, free: 1.664 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.51/1.51, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001673/0.001673, allocations: 51.92 kB / 374.2 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1184, allocations: 53.32 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.2292/0.3476, allocations: 4.292 MB / 431.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.3502, allocations: 1.012 MB / 432.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006997/0.3509, allocations: 16.83 kB / 432.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.3513, allocations: 96.23 kB / 432.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007407/0.352, allocations: 202.7 kB / 433.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004839/0.3525, allocations: 188.1 kB / 433.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008784/0.3534, allocations: 0.7365 MB / 434 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.3537, allocations: 167.5 kB / 434.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.3541, allocations: 295.4 kB / 434.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003378/0.3544, allocations: 324.2 kB / 434.8 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.3545, allocations: 62.91 kB / 434.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.3547, allocations: 66.44 kB / 434.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.3548, allocations: 148.9 kB / 435.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002633/0.3551, allocations: 328.9 kB / 435.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007899/0.3559, allocations: 0.7305 MB / 436.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3559, allocations: 1.188 kB / 436.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3559, allocations: 0 / 436.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.3559, allocations: 0 / 436.1 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.001556/0.3574, allocations: 0.9308 MB / 437.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3575, allocations: 10.7 kB / 437.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.3579, allocations: 97.17 kB / 437.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.3585, allocations: 404 kB / 437.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.3585, allocations: 45.14 kB / 437.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.121e-05/0.3586, allocations: 54.42 kB / 437.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.3595, allocations: 0.5422 MB / 438.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3595, allocations: 0 / 438.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.3596, allocations: 25.19 kB / 438.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.3596, allocations: 13.31 kB / 438.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.3605, allocations: 452.4 kB / 438.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.3632, allocations: 2.029 MB / 440.7 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008709/0.3641, allocations: 0.5909 MB / 441.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005937/0.3647, allocations: 365.7 kB / 441.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.3647, allocations: 10.72 kB / 441.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3648, allocations: 38.58 kB / 441.7 MB, free: 4.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.245e-06/0.3648, allocations: 4 kB / 441.7 MB, free: 4.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004608/0.3694, allocations: 2.023 MB / 443.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.3694, allocations: 58.84 kB / 443.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/0.3698, allocations: 370 kB / 444.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.3699, allocations: 40.14 kB / 444.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.37, allocations: 231.6 kB / 444.4 MB, free: 2.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3701, allocations: 215.6 kB / 444.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.3703, allocations: 94.16 kB / 444.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.44e-05/0.3704, allocations: 356.7 kB / 445.1 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.3707, allocations: 164.5 kB / 445.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.3711, allocations: 221.6 kB / 445.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006895/0.3717, allocations: 379.5 kB / 445.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3717, allocations: 0 / 445.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00125/0.373, allocations: 0.656 MB / 446.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.373, allocations: 9.625 kB / 446.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.373, allocations: 2.281 kB / 446.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.3738, allocations: 257.4 kB / 446.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/0.3741, allocations: 62.78 kB / 446.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/0.3817, allocations: 7.512 MB / 454.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.3822, allocations: 17.94 kB / 454.3 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.3822, allocations: 15.19 kB / 454.3 MB, free: 10.29 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.0003156/0.3825, allocations: 171.3 kB / 454.5 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3826, allocations: 53.31 kB / 454.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.3828, allocations: 71.41 kB / 454.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3828, allocations: 6.719 kB / 454.6 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.3828, allocations: 8.938 kB / 454.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.964e-06/0.3828, allocations: 4.219 kB / 454.6 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.3852, allocations: 1.322 MB / 456 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3852, allocations: 0 / 456 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.3855, allocations: 56.14 kB / 456 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007449/0.3862, allocations: 269.5 kB / 456.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/0.3863, allocations: 11.38 kB / 456.3 MB, free: 9.207 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008217/0.3945, allocations: 7.51 MB / 463.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3945, allocations: 0 / 463.8 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/0.3967, allocations: 1.029 MB / 464.8 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003481/0.397, allocations: 158.9 kB / 465 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.3971, allocations: 11.38 kB / 465 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003312/0.3975, allocations: 21.73 kB / 465 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.3977, allocations: 53.12 kB / 465.1 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3977, allocations: 15.47 kB / 465.1 MB, free: 1.629 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003664/0.3981, allocations: 260.1 kB / 465.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3981, allocations: 0 / 465.3 MB, free: 1.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001121/0.3992, allocations: 175.3 kB / 465.5 MB, free: 1.473 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.0002351/0.3994, allocations: 118.1 kB / 465.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002046/0.4015, allocations: 1.008 MB / 466.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.4015, allocations: 0 / 466.6 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.4028, allocations: 0.8336 MB / 467.5 MB, free: 80 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.4035, allocations: 94.12 kB / 467.6 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/0.4066, allocations: 1.322 MB / 468.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.4073, allocations: 0.8804 MB / 469.8 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.4074, allocations: 33.72 kB / 469.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.643e-06/0.4074, allocations: 0 / 469.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.02396/0.4314, allocations: 14.08 MB / 483.9 MB, free: 5.613 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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: 9.45933974601212]