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.001315/0.001315, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.001289/0.001289, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.363/1.363, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.61 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09314, allocations: 49.44 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.00582/0.09901, allocations: 4.248 MB / 355 MB, free: 152 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.1013, allocations: 0.9191 MB / 355.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004119/0.1018, allocations: 11.94 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1021, allocations: 95 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.1027, allocations: 194.2 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.1031, allocations: 167.8 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007228/0.1039, allocations: 0.7283 MB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.1042, allocations: 219 kB / 357.3 MB, free: 13.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.1046, allocations: 290.9 kB / 357.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.105, allocations: 322.6 kB / 357.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.753e-05/0.105, allocations: 60 kB / 357.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.851e-05/0.1052, allocations: 60 kB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1053, allocations: 147.4 kB / 358.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000261/0.1056, allocations: 330.3 kB / 358.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.1062, allocations: 0.6967 MB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1062, allocations: 0 / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1062, allocations: 3.938 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.1062, allocations: 4 kB / 359.2 MB, free: 11.92 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.001421/0.1076, allocations: 0.9119 MB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1077, allocations: 8.031 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000147/0.1078, allocations: 72.09 kB / 360.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.1083, allocations: 378 kB / 360.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/0.1083, allocations: 37.69 kB / 360.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-05/0.1084, allocations: 52.38 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/0.1092, allocations: 0.5454 MB / 361.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1092, allocations: 3.984 kB / 361.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.1093, allocations: 20 kB / 361.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.1093, allocations: 12 kB / 361.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.1101, allocations: 455.7 kB / 361.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.1126, allocations: 2.026 MB / 363.7 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.1136, allocations: 0.6553 MB / 364.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.1141, allocations: 402.1 kB / 364.7 MB, free: 6.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.763e-05/0.1142, allocations: 4.562 kB / 364.7 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1142, allocations: 39.12 kB / 364.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.775e-06/0.1142, allocations: 0 / 364.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00427/0.1185, allocations: 2.036 MB / 366.8 MB, free: 3.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.1186, allocations: 59.91 kB / 366.9 MB, free: 3.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.1189, allocations: 361.7 kB / 367.2 MB, free: 3.496 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.119, allocations: 33.7 kB / 367.2 MB, free: 3.457 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.1191, allocations: 237.1 kB / 367.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.1193, allocations: 201 kB / 367.7 MB, free: 3.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1194, allocations: 90.25 kB / 367.8 MB, free: 2.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1195, allocations: 358.8 kB / 368.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/0.1199, allocations: 165 kB / 368.3 MB, free: 2.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003418/0.1202, allocations: 219.7 kB / 368.5 MB, free: 2.188 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/0.1209, allocations: 380.9 kB / 368.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1209, allocations: 0 / 368.9 MB, free: 1.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001166/0.1221, allocations: 0.6695 MB / 369.5 MB, free: 1.121 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.1221, allocations: 7.938 kB / 369.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1221, allocations: 0 / 369.5 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007012/0.1228, allocations: 255.2 kB / 369.8 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1231, allocations: 63.91 kB / 369.9 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1699/0.293, allocations: 7.501 MB / 377.4 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.2934, allocations: 21.09 kB / 377.4 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.2934, allocations: 16.34 kB / 377.4 MB, free: 19.79 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.0002113/0.2937, allocations: 175.2 kB / 377.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.2938, allocations: 47.31 kB / 377.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2939, allocations: 67.03 kB / 377.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2939, allocations: 6.281 kB / 377.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2939, allocations: 4.312 kB / 377.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2939, allocations: 3.094 kB / 377.7 MB, free: 19.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.2961, allocations: 1.346 MB / 379 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.2961, allocations: 1.078 kB / 379 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002866/0.2964, allocations: 59.45 kB / 379.1 MB, free: 18.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/0.2971, allocations: 261.5 kB / 379.3 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.2971, allocations: 12.22 kB / 379.4 MB, free: 18.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005368/0.3025, allocations: 7.508 MB / 386.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3025, allocations: 3.938 kB / 386.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.3044, allocations: 1.029 MB / 387.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.3047, allocations: 158 kB / 388.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.3047, allocations: 15.73 kB / 388.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.305, allocations: 21.22 kB / 388.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.3052, allocations: 54.25 kB / 388.1 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3052, allocations: 15.64 kB / 388.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.3055, allocations: 261.1 kB / 388.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.3055, allocations: 0 / 388.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009698/0.3065, allocations: 171.4 kB / 388.6 MB, free: 11.08 MB / 302.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.0001628/0.3067, allocations: 112.5 kB / 388.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001839/0.3085, allocations: 1.064 MB / 389.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3086, allocations: 7.656 kB / 389.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.3097, allocations: 0.8431 MB / 390.6 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.3103, allocations: 92.2 kB / 390.7 MB, free: 9.633 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.3127, allocations: 1.302 MB / 392 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3131, allocations: 0.8776 MB / 392.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3133, allocations: 31.52 kB / 392.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3133, allocations: 0 / 392.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of Templates: time 0.01552/0.3288, allocations: 13.81 MB / 406.7 MB, free: 484 kB / 302.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