Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.001459, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 59.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.546/0.5474, allocations: 50.54 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.008951/0.5564, allocations: 4.267 MB / 413.5 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.5605, allocations: 1.02 MB / 414.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007794/0.5614, allocations: 8 kB / 414.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.562, allocations: 95.02 kB / 414.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.563, allocations: 198.2 kB / 414.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.5639, allocations: 179.7 kB / 415 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.5651, allocations: 0.7361 MB / 415.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006148/0.5658, allocations: 227 kB / 416 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006819/0.5665, allocations: 290.9 kB / 416.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.5671, allocations: 330.5 kB / 416.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.5672, allocations: 64 kB / 416.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.5674, allocations: 64 kB / 416.7 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5677, allocations: 151.4 kB / 416.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000474/0.5682, allocations: 330.3 kB / 417.2 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.5696, allocations: 0.7174 MB / 417.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5696, allocations: 0 / 417.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5696, allocations: 0 / 417.9 MB, free: 8.891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.669e-05/0.5696, allocations: 3.938 kB / 417.9 MB, free: 8.887 MB / 334.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.002456/0.5721, allocations: 0.9119 MB / 418.8 MB, free: 7.922 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001001/0.5722, allocations: 23.95 kB / 418.9 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006632/0.5729, allocations: 92.06 kB / 418.9 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.5741, allocations: 397.9 kB / 419.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.321e-05/0.5742, allocations: 41.62 kB / 419.4 MB, free: 7.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.5743, allocations: 52.28 kB / 419.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5759, allocations: 0.5454 MB / 420 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.576, allocations: 7.984 kB / 420 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.12e-05/0.5761, allocations: 20 kB / 420 MB, free: 6.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.5761, allocations: 12 kB / 420 MB, free: 6.68 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.5775, allocations: 447.7 kB / 420.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004435/0.582, allocations: 2.022 MB / 422.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.5833, allocations: 0.6493 MB / 423.1 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008992/0.5843, allocations: 394.2 kB / 423.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.5843, allocations: 12.56 kB / 423.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.5844, allocations: 35.12 kB / 423.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=60): time 3.827e-06/0.5844, allocations: 0 / 423.5 MB, free: 3.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.006945/0.5913, allocations: 2.04 MB / 425.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.501e-05/0.5915, allocations: 55.97 kB / 425.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006264/0.5921, allocations: 369.7 kB / 426 MB, free: 420 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.5922, allocations: 33.7 kB / 426 MB, free: 380 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.5924, allocations: 233.1 kB / 426.3 MB, free: 140 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.5927, allocations: 205.1 kB / 426.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.5929, allocations: 90.25 kB / 426.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.5931, allocations: 362.7 kB / 426.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.5936, allocations: 169 kB / 427.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.5942, allocations: 203.8 kB / 427.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.5953, allocations: 388.8 kB / 427.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5953, allocations: 0 / 427.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001786/0.5971, allocations: 0.6733 MB / 428.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.5971, allocations: 7.938 kB / 428.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5971, allocations: 0 / 428.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.5982, allocations: 259.2 kB / 428.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.5987, allocations: 63.89 kB / 428.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.6092, allocations: 7.498 MB / 436.1 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.6098, allocations: 20.02 kB / 436.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.6099, allocations: 12 kB / 436.2 MB, free: 5.605 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.0005229/0.6104, allocations: 173.8 kB / 436.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.6106, allocations: 51.56 kB / 436.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.6108, allocations: 65.08 kB / 436.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6108, allocations: 16 kB / 436.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.751e-05/0.6108, allocations: 3.938 kB / 436.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.6108, allocations: 0 / 436.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.6146, allocations: 1.341 MB / 437.8 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6147, allocations: 3.938 kB / 437.8 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.6151, allocations: 51.97 kB / 437.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.6162, allocations: 267.4 kB / 438.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.6163, allocations: 15.98 kB / 438.1 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.6275, allocations: 7.497 MB / 445.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.6275, allocations: 0 / 445.6 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002803/0.6304, allocations: 1.037 MB / 446.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.6307, allocations: 160.5 kB / 446.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/0.6308, allocations: 11.98 kB / 446.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.6312, allocations: 16.12 kB / 446.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.6314, allocations: 52.48 kB / 446.9 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.6315, allocations: 20 kB / 446.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004209/0.6319, allocations: 263.2 kB / 447.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6319, allocations: 0 / 447.2 MB, free: 9.895 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001502/0.6334, allocations: 176 kB / 447.4 MB, free: 9.723 MB / 366.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.0002388/0.6337, allocations: 114.6 kB / 447.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002495/0.6362, allocations: 1.037 MB / 448.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6362, allocations: 0 / 448.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.6379, allocations: 0.8492 MB / 449.4 MB, free: 7.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.6387, allocations: 93.61 kB / 449.5 MB, free: 7.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.6422, allocations: 1.274 MB / 450.7 MB, free: 6.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.6428, allocations: 0.887 MB / 451.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.6431, allocations: 52.53 kB / 451.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.6432, allocations: 27.44 kB / 451.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of SimCode: time 2.815e-06/0.6432, allocations: 4 kB / 451.7 MB, free: 5.223 MB / 366.1 MB Notification: Performance of Templates: time 0.02497/0.6682, allocations: 9.12 MB / 460.8 MB, free: 12.17 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches