Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 109.4 kB / 17.06 MB, free: 5.965 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.001265/0.001265, allocations: 200 kB / 18.01 MB, free: 5.047 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.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008902/0.0008902, allocations: 43.94 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2738, allocations: 49.43 MB / 400.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006851/0.2807, allocations: 6.226 MB / 406.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.2836, allocations: 1.643 MB / 408.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004012/0.2841, allocations: 43.81 kB / 408.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005426/0.2846, allocations: 301.5 kB / 408.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.2857, allocations: 421.3 kB / 409.3 MB, free: 212 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005799/0.2863, allocations: 343.6 kB / 409.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001887/0.2882, allocations: 2.152 MB / 411.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.2908, allocations: 2.43 MB / 414.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.2921, allocations: 1.024 MB / 415.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.2938, allocations: 1.23 MB / 416.5 MB, free: 8.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003963/0.2942, allocations: 292 kB / 416.8 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007087/0.2949, allocations: 423.8 kB / 417.2 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005941/0.2955, allocations: 0.6974 MB / 417.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.2967, allocations: 1.237 MB / 419.1 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003307/0.3, allocations: 3.636 MB / 422.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3, allocations: 0 / 422.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3, allocations: 0 / 422.8 MB, free: 2.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.3001, allocations: 4 kB / 422.8 MB, free: 2.66 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004629/0.3047, allocations: 2.524 MB / 425.3 MB, free: 72 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3048, allocations: 15.89 kB / 425.3 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004915/0.3053, allocations: 242.5 kB / 425.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.3073, allocations: 1.284 MB / 426.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3074, allocations: 164.5 kB / 427 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.3077, allocations: 201.1 kB / 427.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.312, allocations: 2.614 MB / 429.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.942e-05/0.312, allocations: 0 / 429.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001775/0.3122, allocations: 91.94 kB / 429.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.924e-05/0.3123, allocations: 52 kB / 430 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003372/0.3157, allocations: 2.089 MB / 432 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.3258, allocations: 7.313 MB / 439.4 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.3282, allocations: 2.344 MB / 441.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.3297, allocations: 0.9475 MB / 442.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.725e-05/0.3297, allocations: 9 kB / 442.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.3298, allocations: 51.48 kB / 442.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.916e-06/0.3298, allocations: 0 / 442.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007455/0.3373, allocations: 4.204 MB / 446.9 MB, free: 9.766 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3373, allocations: 64.41 kB / 447 MB, free: 9.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.3384, allocations: 0.8641 MB / 447.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.497e-05/0.3385, allocations: 41.7 kB / 447.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.339, allocations: 0.8514 MB / 448.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/0.3393, allocations: 349.1 kB / 449.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.3396, allocations: 174.6 kB / 449.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3398, allocations: 345.9 kB / 449.6 MB, free: 7.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007777/0.3405, allocations: 497.7 kB / 450.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009132/0.3415, allocations: 0.681 MB / 450.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.3432, allocations: 1.197 MB / 451.9 MB, free: 4.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.3432, allocations: 4 kB / 451.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002596/0.3458, allocations: 1.632 MB / 453.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3458, allocations: 8 kB / 453.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.3459, allocations: 8 kB / 453.6 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.347, allocations: 466.9 kB / 454.1 MB, free: 2.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.3477, allocations: 171.8 kB / 454.2 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008964/0.3566, allocations: 9.293 MB / 463.5 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.3574, allocations: 47.95 kB / 463.6 MB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/0.3574, allocations: 40.06 kB / 463.6 MB, free: 8.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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.001127/0.3586, allocations: 0.6457 MB / 464.2 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.3588, allocations: 103.3 kB / 464.3 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.3591, allocations: 138 kB / 464.5 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.3591, allocations: 8 kB / 464.5 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.668e-05/0.3592, allocations: 4 kB / 464.5 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.3592, allocations: 7.984 kB / 464.5 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005694/0.3649, allocations: 3.474 MB / 468 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/0.3649, allocations: 0 / 468 MB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005419/0.3655, allocations: 131.9 kB / 468.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.3665, allocations: 454.9 kB / 468.5 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.3665, allocations: 20 kB / 468.6 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008606/0.3752, allocations: 9.219 MB / 477.8 MB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.3752, allocations: 8.047 kB / 477.8 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/0.3789, allocations: 2.317 MB / 480.1 MB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.3793, allocations: 280.4 kB / 480.4 MB, free: 6.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.3794, allocations: 19.98 kB / 480.4 MB, free: 6.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004536/0.3799, allocations: 43.95 kB / 480.4 MB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.3801, allocations: 88.81 kB / 480.5 MB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.046e-05/0.3802, allocations: 31.94 kB / 480.6 MB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008216/0.381, allocations: 0.6044 MB / 481.2 MB, free: 6.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.381, allocations: 0 / 481.2 MB, free: 6.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001464/0.3825, allocations: 380 kB / 481.5 MB, free: 5.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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.0002733/0.3828, allocations: 152.2 kB / 481.7 MB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.3855, allocations: 1.823 MB / 483.5 MB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3855, allocations: 0 / 483.5 MB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.3872, allocations: 1.259 MB / 484.8 MB, free: 2.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3885, allocations: 294.7 kB / 485.1 MB, free: 2.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.3943, allocations: 3.64 MB / 488.7 MB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.3958, allocations: 1.718 MB / 490.4 MB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005106/0.3963, allocations: 192.9 kB / 490.6 MB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.3965, allocations: 71.36 kB / 490.7 MB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3965, allocations: 0 / 490.7 MB, free: 12.33 MB / 414.1 MB Notification: Performance of Templates: time 0.03268/0.4292, allocations: 21.04 MB / 0.4997 GB, free: 7.52 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches