Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009923, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.233/1.233, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008569/0.0008572, allocations: 106.3 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008056/0.0008057, allocations: 43.92 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.1948, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.003926/0.1987, allocations: 4.218 MB / 378 MB, free: 42.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009939/0.1997, allocations: 0.9576 MB / 379 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.1999, allocations: 7.781 kB / 379 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.2001, allocations: 75.41 kB / 379.1 MB, free: 41.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.2005, allocations: 166.2 kB / 379.2 MB, free: 41.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.2007, allocations: 131.1 kB / 379.4 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005329/0.2012, allocations: 0.7273 MB / 380.1 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002785/0.2015, allocations: 193.2 kB / 380.3 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.2018, allocations: 262.7 kB / 380.5 MB, free: 40.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.202, allocations: 323 kB / 380.9 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.2021, allocations: 42.22 kB / 380.9 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.36e-05/0.2022, allocations: 43.72 kB / 380.9 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.2024, allocations: 125.7 kB / 381.1 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.2026, allocations: 316 kB / 381.4 MB, free: 40.11 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.203, allocations: 0.6684 MB / 382 MB, free: 39.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.203, allocations: 1.156 kB / 382 MB, free: 39.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.203, allocations: 0 / 382 MB, free: 39.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.203, allocations: 0 / 382 MB, free: 39.61 MB / 298.7 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.001274/0.2043, allocations: 0.9098 MB / 383 MB, free: 38.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.2044, allocations: 13.56 kB / 383 MB, free: 38.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.2045, allocations: 69.08 kB / 383 MB, free: 38.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.2049, allocations: 379.6 kB / 383.4 MB, free: 38.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2049, allocations: 42.56 kB / 383.4 MB, free: 38.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.205, allocations: 53.03 kB / 383.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.2057, allocations: 0.5428 MB / 384 MB, free: 38.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.2057, allocations: 5.375 kB / 384 MB, free: 38.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.2058, allocations: 21.12 kB / 384.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2058, allocations: 12.75 kB / 384.1 MB, free: 38.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007173/0.2065, allocations: 449.7 kB / 384.5 MB, free: 37.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.2086, allocations: 2.042 MB / 386.6 MB, free: 36.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.2094, allocations: 0.6407 MB / 387.2 MB, free: 35.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.2099, allocations: 407.3 kB / 387.6 MB, free: 35.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.2099, allocations: 8.562 kB / 387.6 MB, free: 35.46 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.21, allocations: 35.12 kB / 387.6 MB, free: 35.42 MB / 298.7 MB Notification: Performance of pre-optimization done (n=60): time 1.573e-06/0.21, allocations: 4 kB / 387.6 MB, free: 35.42 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.003413/0.2134, allocations: 2.036 MB / 389.7 MB, free: 33.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.2134, allocations: 63.91 kB / 389.7 MB, free: 33.19 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.2137, allocations: 357.7 kB / 390.1 MB, free: 32.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2137, allocations: 33.7 kB / 390.1 MB, free: 32.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.025e-05/0.2138, allocations: 229.2 kB / 390.4 MB, free: 32.56 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/0.2139, allocations: 205 kB / 390.6 MB, free: 32.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.214, allocations: 90.25 kB / 390.6 MB, free: 32.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.2141, allocations: 362.8 kB / 391 MB, free: 31.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2143, allocations: 165 kB / 391.2 MB, free: 31.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.2146, allocations: 211.8 kB / 391.4 MB, free: 31.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.2151, allocations: 376.9 kB / 391.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.2151, allocations: 0 / 391.7 MB, free: 31.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009149/0.2161, allocations: 0.6734 MB / 392.4 MB, free: 30.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2161, allocations: 7.938 kB / 392.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2161, allocations: 3.984 kB / 392.4 MB, free: 30.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006411/0.2167, allocations: 267.1 kB / 392.7 MB, free: 30.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.217, allocations: 55.91 kB / 392.7 MB, free: 30.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/0.2211, allocations: 6.774 MB / 399.5 MB, free: 22.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002308/0.2213, allocations: 16.03 kB / 399.5 MB, free: 22.8 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.707e-05/0.2214, allocations: 19.98 kB / 399.5 MB, free: 22.78 MB / 298.7 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.0001506/0.2215, allocations: 169.8 kB / 399.7 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.2216, allocations: 47.44 kB / 399.8 MB, free: 22.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.2217, allocations: 68.95 kB / 399.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2217, allocations: 4 kB / 399.8 MB, free: 22.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2217, allocations: 11.88 kB / 399.8 MB, free: 22.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2217, allocations: 3.984 kB / 399.8 MB, free: 22.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.2233, allocations: 1.333 MB / 401.2 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2233, allocations: 0 / 401.2 MB, free: 21.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2235, allocations: 63.89 kB / 401.2 MB, free: 21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/0.2241, allocations: 255.4 kB / 401.5 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.2241, allocations: 12 kB / 401.5 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.2281, allocations: 6.788 MB / 408.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2281, allocations: 0 / 408.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0094/0.2375, allocations: 11.37 MB / 419.7 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2377, allocations: 164.5 kB / 419.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.2377, allocations: 12 kB / 419.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000231/0.238, allocations: 16.12 kB / 419.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.2381, allocations: 56.48 kB / 419.9 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2381, allocations: 24.05 kB / 419.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.2383, allocations: 255.2 kB / 420.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2383, allocations: 0 / 420.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001024/0.2394, allocations: 248 kB / 420.4 MB, free: 0.5195 MB / 298.7 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.000107/0.2395, allocations: 115.3 kB / 420.5 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.2409, allocations: 1.029 MB / 421.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.2409, allocations: 4 kB / 421.6 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001013/0.2419, allocations: 0.8298 MB / 422.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.2424, allocations: 89.67 kB / 422.5 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.2453, allocations: 2.431 MB / 424.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.2457, allocations: 0.8991 MB / 425.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.2458, allocations: 56.53 kB / 425.9 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2459, allocations: 27.44 kB / 425.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2459, allocations: 0 / 425.9 MB, free: 10.81 MB / 314.7 MB Notification: Performance of Templates: time 0.01508/0.261, allocations: 10.5 MB / 436.4 MB, free: 344 kB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches