Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001966/0.001966, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 211.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 59.89 kB / 378.7 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2995, allocations: 53.37 MB / 432.1 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.009171/0.3086, allocations: 6.319 MB / 438.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3129, allocations: 1.713 MB / 440.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.3142, allocations: 55.69 kB / 440.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3154, allocations: 313.5 kB / 440.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.3177, allocations: 449.2 kB / 440.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.3189, allocations: 355.5 kB / 441.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.3224, allocations: 2.168 MB / 443.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.3247, allocations: 1.397 MB / 444.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.3264, allocations: 1.067 MB / 445.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001928/0.3284, allocations: 1.245 MB / 447.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004465/0.3288, allocations: 292 kB / 447.5 MB, free: 7.609 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009022/0.3297, allocations: 479.6 kB / 447.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007422/0.3305, allocations: 0.7129 MB / 448.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.3321, allocations: 1.237 MB / 449.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004148/0.3363, allocations: 3.651 MB / 453.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3363, allocations: 4 kB / 453.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3363, allocations: 4 kB / 453.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.484e-05/0.3364, allocations: 0 / 453.5 MB, free: 1.516 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005199/0.3416, allocations: 2.457 MB / 456 MB, free: 15.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3416, allocations: 16.03 kB / 456 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007299/0.3423, allocations: 275.4 kB / 456.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.3448, allocations: 1.25 MB / 457.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001321/0.3449, allocations: 156.5 kB / 457.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/0.3452, allocations: 208.1 kB / 457.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004549/0.3497, allocations: 2.63 MB / 460.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.3498, allocations: 0 / 460.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.35, allocations: 84 kB / 460.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.975e-05/0.3501, allocations: 80.11 kB / 460.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.3537, allocations: 2.093 MB / 462.8 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01215/0.3659, allocations: 7.378 MB / 470.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.3679, allocations: 1.304 MB / 471.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.3696, allocations: 0.8856 MB / 472.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/0.3696, allocations: 9 kB / 472.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.3697, allocations: 47.56 kB / 472.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.888e-06/0.3697, allocations: 3.938 kB / 472.4 MB, free: 14.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.008448/0.3781, allocations: 3.902 MB / 476.3 MB, free: 10.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.3782, allocations: 64.34 kB / 476.4 MB, free: 10.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.3795, allocations: 0.872 MB / 477.2 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/0.3795, allocations: 41.7 kB / 477.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006621/0.3802, allocations: 0.8591 MB / 478.1 MB, free: 8.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/0.3805, allocations: 337.1 kB / 478.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.3808, allocations: 182.6 kB / 478.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.381, allocations: 341.9 kB / 479 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/0.3817, allocations: 497.7 kB / 479.5 MB, free: 7.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009421/0.3827, allocations: 0.6733 MB / 480.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.3845, allocations: 1.197 MB / 481.3 MB, free: 5.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.3845, allocations: 4 kB / 481.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002864/0.3873, allocations: 1.625 MB / 483 MB, free: 3.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.3874, allocations: 18.42 kB / 483 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.3874, allocations: 4 kB / 483 MB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.3885, allocations: 478.9 kB / 483.4 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.3892, allocations: 171.7 kB / 483.6 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009726/0.399, allocations: 8.875 MB / 492.5 MB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.3997, allocations: 39.97 kB / 492.5 MB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.3997, allocations: 39.98 kB / 492.6 MB, free: 9.352 MB / 398.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.001076/0.4008, allocations: 0.6448 MB / 493.2 MB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.401, allocations: 107.4 kB / 493.3 MB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.4013, allocations: 134.1 kB / 493.4 MB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.325e-05/0.4014, allocations: 16.47 kB / 493.5 MB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.4014, allocations: 3.938 kB / 493.5 MB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4014, allocations: 3.984 kB / 493.5 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00609/0.4075, allocations: 3.454 MB / 496.9 MB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4075, allocations: 4 kB / 496.9 MB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/0.4081, allocations: 123.8 kB / 497.1 MB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.4091, allocations: 459 kB / 497.5 MB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.4092, allocations: 23.98 kB / 497.5 MB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009442/0.4186, allocations: 8.79 MB / 0.4944 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4186, allocations: 4.031 kB / 0.4945 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/0.4227, allocations: 2.293 MB / 0.4967 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006775/0.4233, allocations: 215.3 kB / 0.4969 GB, free: 8.508 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.4235, allocations: 24.41 kB / 0.4969 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.4239, allocations: 43.95 kB / 0.497 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002424/0.4242, allocations: 84.83 kB / 0.497 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.264e-05/0.4242, allocations: 28 kB / 0.4971 GB, free: 8.328 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008768/0.4251, allocations: 0.616 MB / 0.4977 GB, free: 7.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4251, allocations: 3.938 kB / 0.4977 GB, free: 7.715 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00151/0.4266, allocations: 383.9 kB / 0.498 GB, free: 7.34 MB / 414.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.0002857/0.4269, allocations: 143.2 kB / 0.4982 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.4298, allocations: 1.78 MB / 0.4999 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.4298, allocations: 384 / 0.4999 GB, free: 5.359 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.4316, allocations: 1.215 MB / 0.5011 GB, free: 4.094 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.433, allocations: 303 kB / 0.5014 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007261/0.4403, allocations: 3.701 MB / 0.505 GB, free: 56 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/0.4421, allocations: 1.726 MB / 0.5067 GB, free: 14.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007125/0.4428, allocations: 192.9 kB / 0.5069 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.443, allocations: 67.42 kB / 0.5069 GB, free: 14.04 MB / 430.1 MB Notification: Performance of SimCode: time 1.462e-06/0.443, allocations: 8 kB / 0.5069 GB, free: 14.03 MB / 430.1 MB Notification: Performance of Templates: time 0.04291/0.4859, allocations: 21.89 MB / 0.5283 GB, free: 8.336 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.883666288107634]