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.001866/0.001866, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002119/0.002119, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.0017/0.0017, allocations: 47.94 kB / 378.3 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2428, allocations: 53.35 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.006546/0.2493, allocations: 4.3 MB / 435.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2517, allocations: 1.032 MB / 437 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004824/0.2522, allocations: 11.94 kB / 437 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.2525, allocations: 99 kB / 437.1 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007579/0.2533, allocations: 206.2 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.2539, allocations: 183.7 kB / 437.5 MB, free: 1.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.255, allocations: 0.7361 MB / 438.2 MB, free: 348 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000346/0.2553, allocations: 159.7 kB / 438.4 MB, free: 184 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.2558, allocations: 307 kB / 438.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.2563, allocations: 326.5 kB / 439 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.988e-05/0.2564, allocations: 60 kB / 439 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.2565, allocations: 64 kB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001774/0.2567, allocations: 151.4 kB / 439.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000325/0.257, allocations: 330.3 kB / 439.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000881/0.2579, allocations: 0.7235 MB / 440.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2579, allocations: 3.984 kB / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2579, allocations: 0 / 440.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.2579, allocations: 4 kB / 440.3 MB, free: 14.23 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.001628/0.2596, allocations: 0.8555 MB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.2596, allocations: 8.031 kB / 441.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.26, allocations: 96.48 kB / 441.3 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006242/0.2606, allocations: 344.3 kB / 441.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.2607, allocations: 37.69 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.2607, allocations: 56.31 kB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009828/0.2617, allocations: 0.5493 MB / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2617, allocations: 0 / 442.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.2618, allocations: 23.98 kB / 442.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.2618, allocations: 12 kB / 442.3 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008991/0.2627, allocations: 451.7 kB / 442.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.2657, allocations: 1.987 MB / 444.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000931/0.2666, allocations: 0.5073 MB / 445.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/0.2672, allocations: 358 kB / 445.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.2672, allocations: 4.5 kB / 445.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.2673, allocations: 43.06 kB / 445.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.583e-06/0.2673, allocations: 0 / 445.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004369/0.2717, allocations: 1.732 MB / 447.3 MB, free: 6.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2717, allocations: 55.91 kB / 447.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.2721, allocations: 373.7 kB / 447.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.897e-05/0.2721, allocations: 37.7 kB / 447.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.2723, allocations: 233.4 kB / 448 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.2725, allocations: 214.1 kB / 448.2 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.2726, allocations: 94.3 kB / 448.3 MB, free: 5.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2728, allocations: 354.8 kB / 448.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.2732, allocations: 169.2 kB / 448.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003869/0.2736, allocations: 220.8 kB / 449 MB, free: 5.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007212/0.2743, allocations: 382.1 kB / 449.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2743, allocations: 0 / 449.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001292/0.2756, allocations: 0.6563 MB / 450.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2756, allocations: 11.94 kB / 450.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2756, allocations: 3.984 kB / 450.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007549/0.2764, allocations: 259.2 kB / 450.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.2767, allocations: 59.95 kB / 450.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007313/0.284, allocations: 7.091 MB / 457.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.2843, allocations: 16.02 kB / 457.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/0.2843, allocations: 16.56 kB / 457.5 MB, free: 12.23 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.0002438/0.2845, allocations: 181.2 kB / 457.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.2846, allocations: 55.67 kB / 457.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000142/0.2848, allocations: 65.02 kB / 457.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2848, allocations: 8 kB / 457.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.2848, allocations: 8.062 kB / 457.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2848, allocations: 7.922 kB / 457.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/0.287, allocations: 1.295 MB / 459.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2871, allocations: 0 / 459.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.2874, allocations: 55.91 kB / 459.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006898/0.288, allocations: 255.2 kB / 459.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.2881, allocations: 11.98 kB / 459.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007169/0.2952, allocations: 7.1 MB / 466.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2952, allocations: 0 / 466.6 MB, free: 2.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.2971, allocations: 1.017 MB / 467.6 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.2973, allocations: 84.22 kB / 467.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.2974, allocations: 16 kB / 467.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.2976, allocations: 19.98 kB / 467.7 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.2978, allocations: 52.39 kB / 467.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.2978, allocations: 12.12 kB / 467.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.2981, allocations: 267.2 kB / 468 MB, free: 1.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2981, allocations: 3.938 kB / 468 MB, free: 1.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008945/0.299, allocations: 175.9 kB / 468.2 MB, free: 0.9961 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.0001705/0.2992, allocations: 123.1 kB / 468.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3008, allocations: 1.011 MB / 469.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3008, allocations: 0 / 469.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.302, allocations: 0.8291 MB / 470.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.3025, allocations: 89.34 kB / 470.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.3052, allocations: 1.281 MB / 471.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.3057, allocations: 0.8793 MB / 472.4 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.3059, allocations: 52.55 kB / 472.4 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.306, allocations: 27.44 kB / 472.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of SimCode: time 5e-07/0.306, allocations: 0 / 472.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of Templates: time 0.01884/0.3248, allocations: 9.618 MB / 482.1 MB, free: 2.996 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.279754558112472]