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.001255/0.001255, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001357/0.001357, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.383/1.383, allocations: 230.6 MB / 258.3 MB, free: 8.043 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.001482/0.001482, allocations: 47.92 kB / 379.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005896/0.2416, allocations: 4.306 MB / 436.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2439, allocations: 1.024 MB / 437.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004378/0.2443, allocations: 11.94 kB / 437.8 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.2446, allocations: 91.06 kB / 437.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006637/0.2453, allocations: 202.2 kB / 438 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.2458, allocations: 191.7 kB / 438.2 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009778/0.2467, allocations: 0.74 MB / 439 MB, free: 368 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.2471, allocations: 155.7 kB / 439.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.2476, allocations: 302.9 kB / 439.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/0.248, allocations: 326.5 kB / 439.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-05/0.2481, allocations: 60 kB / 439.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.2483, allocations: 68 kB / 439.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.2484, allocations: 151.3 kB / 440 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.2488, allocations: 338.2 kB / 440.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008332/0.2496, allocations: 0.7221 MB / 441.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2496, allocations: 4 kB / 441.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2496, allocations: 0 / 441.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.2496, allocations: 0 / 441.1 MB, free: 14.25 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.001523/0.2511, allocations: 0.8593 MB / 441.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2512, allocations: 8.031 kB / 441.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.2515, allocations: 100.5 kB / 442 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005794/0.2521, allocations: 340.3 kB / 442.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.2521, allocations: 37.69 kB / 442.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.2522, allocations: 52.33 kB / 442.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009084/0.2531, allocations: 0.5532 MB / 443 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.2531, allocations: 0 / 443 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.2532, allocations: 20 kB / 443 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.2532, allocations: 12 kB / 443 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.2541, allocations: 451.6 kB / 443.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/0.2569, allocations: 1.979 MB / 445.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/0.2578, allocations: 0.5151 MB / 446 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005801/0.2583, allocations: 362 kB / 446.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.2584, allocations: 8.5 kB / 446.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2584, allocations: 39.06 kB / 446.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 1.663e-06/0.2584, allocations: 0 / 446.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004226/0.2626, allocations: 1.728 MB / 448.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.2627, allocations: 59.91 kB / 448.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.2631, allocations: 369.6 kB / 448.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2631, allocations: 37.7 kB / 448.6 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.2633, allocations: 241.4 kB / 448.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.2635, allocations: 210.2 kB / 449 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.2636, allocations: 90.3 kB / 449.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.2638, allocations: 354.8 kB / 449.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.2642, allocations: 173.2 kB / 449.6 MB, free: 5.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.2645, allocations: 212.8 kB / 449.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.2652, allocations: 378.1 kB / 450.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2652, allocations: 0 / 450.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001238/0.2665, allocations: 0.6563 MB / 450.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.2665, allocations: 11.94 kB / 450.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2665, allocations: 0 / 450.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007241/0.2672, allocations: 263.1 kB / 451.1 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.2675, allocations: 63.97 kB / 451.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007232/0.2747, allocations: 7.092 MB / 458.3 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.275, allocations: 12.03 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.275, allocations: 19.98 kB / 458.3 MB, free: 12.26 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.0002395/0.2753, allocations: 181.7 kB / 458.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.808e-05/0.2754, allocations: 55.67 kB / 458.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001293/0.2755, allocations: 65.03 kB / 458.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.2755, allocations: 8 kB / 458.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.2755, allocations: 3.938 kB / 458.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.2755, allocations: 3.984 kB / 458.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.2777, allocations: 1.291 MB / 459.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2777, allocations: 0 / 459.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/0.278, allocations: 63.89 kB / 460 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006504/0.2787, allocations: 259.5 kB / 460.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.2787, allocations: 8 kB / 460.2 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007046/0.2857, allocations: 7.104 MB / 467.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2857, allocations: 96 / 467.3 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.2875, allocations: 1.017 MB / 468.3 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.2877, allocations: 83.66 kB / 468.4 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.2878, allocations: 15.98 kB / 468.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.288, allocations: 16 kB / 468.5 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.2881, allocations: 56.39 kB / 468.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2882, allocations: 12 kB / 468.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.2885, allocations: 263.2 kB / 468.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2885, allocations: 3.938 kB / 468.8 MB, free: 1.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008806/0.2893, allocations: 176 kB / 469 MB, free: 1.027 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.0001592/0.2895, allocations: 115.1 kB / 469.1 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.2912, allocations: 1.009 MB / 470.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2912, allocations: 0 / 470.1 MB, free: 15.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.2924, allocations: 0.8372 MB / 470.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.2928, allocations: 97.48 kB / 471 MB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.2953, allocations: 1.311 MB / 472.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.2958, allocations: 0.8753 MB / 473.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.296, allocations: 39.42 kB / 473.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.296, allocations: 4 kB / 473.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of Templates: time 0.01819/0.3141, allocations: 14.08 MB / 487.3 MB, free: 14.51 MB / 398.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: 8.394753457978368]