Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 81.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 147.2 kB / 23.93 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 173.4 MB / 200.4 MB, free: 12.9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.393e-05, allocations: 7.656 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004294/0.004318, allocations: 3.817 MB / 322.8 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.005859, allocations: 0.8987 MB / 323.7 MB, free: 336 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002383/0.006097, allocations: 8.938 kB / 323.7 MB, free: 336 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.006336, allocations: 94.7 kB / 323.8 MB, free: 280 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.006785, allocations: 220.2 kB / 324 MB, free: 112 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.00711, allocations: 161.2 kB / 324.1 MB, free: 24 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008811/0.007991, allocations: 0.7593 MB / 324.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.008302, allocations: 152.1 kB / 325 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005559/0.008858, allocations: 424.5 kB / 325.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.009283, allocations: 246.7 kB / 325.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.009384, allocations: 60.5 kB / 325.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.009492, allocations: 60.5 kB / 325.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.009681, allocations: 151.5 kB / 326 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000275/0.009956, allocations: 228.2 kB / 326.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009964/0.01095, allocations: 0.7283 MB / 326.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.01096, allocations: 5.062 kB / 326.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.01096, allocations: 4.656 kB / 326.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.01097, allocations: 0 / 326.9 MB, free: 14.79 MB / 302.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.00186/0.01283, allocations: 0.8428 MB / 327.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.01287, allocations: 11.05 kB / 327.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.013, allocations: 69.86 kB / 327.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.01361, allocations: 330.3 kB / 328.2 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.01365, allocations: 38.72 kB / 328.2 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.01374, allocations: 49.97 kB / 328.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.0148, allocations: 0.549 MB / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01482, allocations: 192 / 328.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.01488, allocations: 24.59 kB / 328.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.01489, allocations: 17.25 kB / 328.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.0159, allocations: 445.3 kB / 329.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.01902, allocations: 1.774 MB / 331.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009819/0.02, allocations: 0.527 MB / 331.6 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000615/0.02061, allocations: 364.2 kB / 331.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.02065, allocations: 7 kB / 331.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.02069, allocations: 38.33 kB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.414e-06/0.02069, allocations: 1.25 kB / 332 MB, free: 11.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004703/0.02539, allocations: 1.723 MB / 333.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.02544, allocations: 57.94 kB / 333.8 MB, free: 10.7 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.02581, allocations: 327.3 kB / 334.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.02586, allocations: 35.83 kB / 334.1 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.02604, allocations: 242 kB / 334.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.02621, allocations: 210 kB / 334.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.02637, allocations: 97.73 kB / 334.7 MB, free: 9.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.02655, allocations: 356.4 kB / 335 MB, free: 9.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.02689, allocations: 165.2 kB / 335.2 MB, free: 9.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.02727, allocations: 219.3 kB / 335.4 MB, free: 9.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007138/0.02799, allocations: 373.6 kB / 335.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.02799, allocations: 1.688 kB / 335.7 MB, free: 9.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00125/0.02924, allocations: 0.6562 MB / 336.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02925, allocations: 8.625 kB / 336.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.02926, allocations: 1.375 kB / 336.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/0.03001, allocations: 263.3 kB / 336.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.03032, allocations: 61.67 kB / 336.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007101/0.03742, allocations: 6.948 MB / 343.7 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.03775, allocations: 12.03 kB / 343.7 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.03779, allocations: 19.98 kB / 343.7 MB, free: 2.188 MB / 302.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.0002799/0.03807, allocations: 173.8 kB / 343.9 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/0.03817, allocations: 51.66 kB / 343.9 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.0383, allocations: 64.81 kB / 344 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.0383, allocations: 8 kB / 344 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.03831, allocations: 0 / 344 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.03832, allocations: 3.984 kB / 344 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.04049, allocations: 1.159 MB / 345.2 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.04049, allocations: 4 kB / 345.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.04079, allocations: 59.89 kB / 345.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007269/0.04152, allocations: 255.5 kB / 345.5 MB, free: 356 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.04156, allocations: 15.94 kB / 345.5 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007417/0.04898, allocations: 6.938 MB / 352.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.04898, allocations: 4.031 kB / 352.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.05091, allocations: 1.017 MB / 353.4 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.05112, allocations: 79.66 kB / 353.5 MB, free: 7.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.244e-05/0.0512, allocations: 15.94 kB / 353.5 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.05149, allocations: 19.98 kB / 353.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.05164, allocations: 60.39 kB / 353.6 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.05168, allocations: 16 kB / 353.6 MB, free: 7.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.05197, allocations: 235.2 kB / 353.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05197, allocations: 0 / 353.9 MB, free: 7.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.05297, allocations: 176 kB / 354 MB, free: 7.348 MB / 318.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.0001829/0.05315, allocations: 107.2 kB / 354.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001834/0.05498, allocations: 1.009 MB / 355.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.05499, allocations: 4 kB / 355.2 MB, free: 6.172 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.05625, allocations: 0.8175 MB / 356 MB, free: 5.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.05677, allocations: 81.86 kB / 356.1 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.05901, allocations: 1.159 MB / 357.2 MB, free: 4.039 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.0593, allocations: 279.5 kB / 357.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000152/0.05945, allocations: 52.34 kB / 357.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.05953, allocations: 32.5 kB / 357.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.05953, allocations: 0 / 357.6 MB, free: 3.652 MB / 318.1 MB Notification: Performance of Templates: time 0.0165/0.07603, allocations: 8.373 MB / 365.9 MB, free: 11.38 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.779272228479385]