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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=20000,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=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 109.9 kB / 17.74 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 189.5 kB / 18.66 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009637/0.0009637, allocations: 48 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2273, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.004845/0.2322, allocations: 4.235 MB / 405.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.2337, allocations: 0.9279 MB / 406.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.2339, allocations: 8 kB / 406.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.2341, allocations: 99 kB / 406.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.2346, allocations: 198.2 kB / 406.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.2349, allocations: 167.7 kB / 407.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.2355, allocations: 0.7322 MB / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003352/0.2359, allocations: 211.1 kB / 408 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.2362, allocations: 282.9 kB / 408.3 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003762/0.2366, allocations: 334.5 kB / 408.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.2367, allocations: 64 kB / 408.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.817e-05/0.2368, allocations: 60 kB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.2369, allocations: 147.5 kB / 408.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.2372, allocations: 330.3 kB / 409.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.2378, allocations: 0.7123 MB / 409.9 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2378, allocations: 0 / 409.9 MB, free: 372 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2378, allocations: 0 / 409.9 MB, free: 372 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.2378, allocations: 0 / 409.9 MB, free: 372 kB / 318.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.001424/0.2393, allocations: 0.908 MB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.2393, allocations: 12.03 kB / 410.8 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.2394, allocations: 64.19 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.2399, allocations: 385.9 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.2399, allocations: 37.69 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.24, allocations: 52.38 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/0.2409, allocations: 0.5454 MB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.2409, allocations: 0 / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.473e-05/0.241, allocations: 20 kB / 411.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.241, allocations: 19.98 kB / 411.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008256/0.2418, allocations: 455.6 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.2444, allocations: 2.022 MB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008886/0.2453, allocations: 0.6454 MB / 415 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.2459, allocations: 398.2 kB / 415.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.246, allocations: 16.48 kB / 415.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.246, allocations: 39.12 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 2.124e-06/0.246, allocations: 3.938 kB / 415.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004386/0.2504, allocations: 2.036 MB / 417.5 MB, free: 8.363 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2505, allocations: 59.97 kB / 417.6 MB, free: 8.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/0.2508, allocations: 357.7 kB / 417.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.2509, allocations: 37.7 kB / 418 MB, free: 7.895 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.251, allocations: 229.2 kB / 418.2 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.2512, allocations: 201.1 kB / 418.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.2513, allocations: 94.16 kB / 418.5 MB, free: 7.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2514, allocations: 354.8 kB / 418.8 MB, free: 7.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.2518, allocations: 165 kB / 419 MB, free: 6.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.2522, allocations: 211.8 kB / 419.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.2528, allocations: 384.9 kB / 419.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2529, allocations: 0 / 419.6 MB, free: 6.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00122/0.2541, allocations: 0.6695 MB / 420.2 MB, free: 5.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.2541, allocations: 7.938 kB / 420.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2541, allocations: 0 / 420.2 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007045/0.2548, allocations: 263.1 kB / 420.5 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.2551, allocations: 63.89 kB / 420.6 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006627/0.2618, allocations: 7.497 MB / 428.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003906/0.2622, allocations: 16.03 kB / 428.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.2623, allocations: 20.11 kB / 428.1 MB, free: 13.14 MB / 350.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.0002669/0.2625, allocations: 165.8 kB / 428.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-05/0.2626, allocations: 59.41 kB / 428.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/0.2628, allocations: 64.95 kB / 428.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.2628, allocations: 8 kB / 428.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.2628, allocations: 3.938 kB / 428.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2628, allocations: 7.922 kB / 428.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.2649, allocations: 1.334 MB / 429.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2649, allocations: 0 / 429.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.2652, allocations: 59.89 kB / 429.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006617/0.2659, allocations: 267.1 kB / 430.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.2659, allocations: 8 kB / 430.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006578/0.2725, allocations: 7.509 MB / 437.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2725, allocations: 0 / 437.6 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.2743, allocations: 1.022 MB / 438.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.2745, allocations: 160.4 kB / 438.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.2746, allocations: 12.12 kB / 438.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.2749, allocations: 19.98 kB / 438.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2751, allocations: 60.42 kB / 438.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.2751, allocations: 12 kB / 438.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002669/0.2754, allocations: 259.2 kB / 439.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2754, allocations: 0 / 439.1 MB, free: 1.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00089/0.2763, allocations: 176.5 kB / 439.3 MB, free: 1.27 MB / 350.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.0001597/0.2764, allocations: 112.4 kB / 439.4 MB, free: 1.152 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.2781, allocations: 1.045 MB / 440.4 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.2781, allocations: 8.062 kB / 440.4 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.2792, allocations: 0.8453 MB / 441.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005144/0.2798, allocations: 89.39 kB / 441.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.282, allocations: 1.291 MB / 442.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.2825, allocations: 0.8754 MB / 443.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.2826, allocations: 35.42 kB / 443.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2826, allocations: 0 / 443.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of Templates: time 0.01606/0.2987, allocations: 13.85 MB / 457.4 MB, free: 14.97 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches