Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 207.8 kB / 19.25 MB, free: 3.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.466/1.466, allocations: 227.7 MB / 247.7 MB, free: 10.36 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 60.41 kB / 307.9 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1073, allocations: 50.55 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005842/0.1132, allocations: 4.269 MB / 362.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.1153, allocations: 1.012 MB / 363.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002602/0.1156, allocations: 12 kB / 363.7 MB, free: 8.605 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1159, allocations: 103 kB / 363.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.1164, allocations: 186.2 kB / 364 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1168, allocations: 191.7 kB / 364.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007735/0.1176, allocations: 0.7283 MB / 364.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003709/0.118, allocations: 227 kB / 365.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.1184, allocations: 294.9 kB / 365.4 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000403/0.1188, allocations: 322.6 kB / 365.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.1189, allocations: 64 kB / 365.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.1191, allocations: 60 kB / 365.9 MB, free: 6.449 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1193, allocations: 151.4 kB / 366 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003568/0.1196, allocations: 338.2 kB / 366.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007473/0.1204, allocations: 0.7045 MB / 367.1 MB, free: 5.262 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1204, allocations: 4 kB / 367.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1204, allocations: 0 / 367.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1204, allocations: 0 / 367.1 MB, free: 5.258 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.001709/0.1222, allocations: 0.9195 MB / 368 MB, free: 4.289 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1222, allocations: 12.03 kB / 368 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003852/0.1226, allocations: 92.16 kB / 368.1 MB, free: 4.188 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.1232, allocations: 397.8 kB / 368.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.139e-05/0.1232, allocations: 41.69 kB / 368.5 MB, free: 3.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.1233, allocations: 48.38 kB / 368.6 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009649/0.1243, allocations: 0.5454 MB / 369.1 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1243, allocations: 3.938 kB / 369.1 MB, free: 3.094 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.839e-05/0.1244, allocations: 24 kB / 369.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/0.1244, allocations: 12 kB / 369.1 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009052/0.1253, allocations: 451.7 kB / 369.6 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00299/0.1283, allocations: 2.038 MB / 371.6 MB, free: 496 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1512/0.2795, allocations: 0.6348 MB / 372.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007237/0.2803, allocations: 398.7 kB / 372.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.2803, allocations: 6.656 kB / 372.7 MB, free: 20.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2804, allocations: 37.75 kB / 372.7 MB, free: 19.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.2804, allocations: 0.6875 kB / 372.7 MB, free: 19.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004398/0.2848, allocations: 2.041 MB / 374.7 MB, free: 19.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2848, allocations: 58.75 kB / 374.8 MB, free: 19.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004368/0.2853, allocations: 372.5 kB / 375.2 MB, free: 18.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.2853, allocations: 35.89 kB / 375.2 MB, free: 18.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.2855, allocations: 234.7 kB / 375.4 MB, free: 18.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.2856, allocations: 200.5 kB / 375.6 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.2857, allocations: 91.48 kB / 375.7 MB, free: 18.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.189e-05/0.2858, allocations: 356.1 kB / 376 MB, free: 18.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.2861, allocations: 167.2 kB / 376.2 MB, free: 18.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.2865, allocations: 214.4 kB / 376.4 MB, free: 18.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006177/0.2871, allocations: 391 kB / 376.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2871, allocations: 3.812 kB / 376.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001102/0.2882, allocations: 0.6648 MB / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2883, allocations: 6.219 kB / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2883, allocations: 0 / 377.5 MB, free: 17.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000711/0.289, allocations: 259.2 kB / 377.7 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.2893, allocations: 64.8 kB / 377.8 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005034/0.2944, allocations: 7.499 MB / 385.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002897/0.2947, allocations: 17.11 kB / 385.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.2947, allocations: 15.8 kB / 385.3 MB, free: 10.62 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.0002247/0.2949, allocations: 176.7 kB / 385.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.339e-05/0.295, allocations: 49.64 kB / 385.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.2951, allocations: 66.89 kB / 385.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2952, allocations: 7.469 kB / 385.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.2952, allocations: 2.75 kB / 385.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2952, allocations: 3.094 kB / 385.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.2971, allocations: 1.342 MB / 387 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2971, allocations: 4.844 kB / 387 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.2974, allocations: 63 kB / 387 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006262/0.298, allocations: 264.2 kB / 387.3 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/0.2981, allocations: 11.62 kB / 387.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004865/0.303, allocations: 7.509 MB / 394.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.303, allocations: 0.8438 kB / 394.8 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.3047, allocations: 1.025 MB / 395.8 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.3049, allocations: 165.9 kB / 396 MB, free: 1.984 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.188e-05/0.3049, allocations: 15.83 kB / 396 MB, free: 1.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.3052, allocations: 17.02 kB / 396 MB, free: 1.965 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3053, allocations: 53.48 kB / 396.1 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.3054, allocations: 15.41 kB / 396.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002735/0.3057, allocations: 267.2 kB / 396.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3057, allocations: 0 / 396.4 MB, free: 1.816 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008894/0.3066, allocations: 172.2 kB / 396.5 MB, free: 1.797 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.0001301/0.3067, allocations: 123 kB / 396.6 MB, free: 1.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.3083, allocations: 1.054 MB / 397.7 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3083, allocations: 3.938 kB / 397.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.3093, allocations: 0.842 MB / 398.5 MB, free: 408 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.3098, allocations: 92.97 kB / 398.6 MB, free: 360 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.3121, allocations: 1.32 MB / 400 MB, free: 15.59 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.3127, allocations: 0.8746 MB / 400.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.3128, allocations: 31.06 kB / 400.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3128, allocations: 5.281 kB / 400.9 MB, free: 14.87 MB / 318.1 MB Notification: Performance of Templates: time 0.01825/0.3311, allocations: 14.01 MB / 414.9 MB, free: 5.109 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches