Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 213.9 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.45/1.45, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 51.92 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2936, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009421/0.3031, allocations: 6.949 MB / 438.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005465/0.3085, allocations: 2.353 MB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.3098, allocations: 59.56 kB / 440.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.3115, allocations: 468.3 kB / 441 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.314, allocations: 0.6914 MB / 441.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009293/0.3149, allocations: 283.6 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003984/0.3189, allocations: 2.848 MB / 444.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002394/0.3213, allocations: 1.367 MB / 446.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.3243, allocations: 1.354 MB / 447.5 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.327, allocations: 1.572 MB / 449.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008676/0.3279, allocations: 355.9 kB / 449.4 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.3294, allocations: 447.8 kB / 449.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.3308, allocations: 0.8921 MB / 450.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002914/0.3337, allocations: 1.529 MB / 452.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006455/0.3402, allocations: 4.641 MB / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3402, allocations: 0 / 456.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3402, allocations: 4 kB / 456.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001322/0.3403, allocations: 0 / 456.9 MB, free: 12.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.007782/0.3481, allocations: 2.967 MB / 459.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3481, allocations: 12.03 kB / 459.9 MB, free: 9.926 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008856/0.349, allocations: 332.8 kB / 460.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.3505, allocations: 347.1 kB / 460.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.3542, allocations: 1.615 MB / 462.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.3543, allocations: 172.2 kB / 462.3 MB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005628/0.3549, allocations: 212 kB / 462.6 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006687/0.3616, allocations: 3.182 MB / 465.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.288e-05/0.3616, allocations: 0 / 465.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003852/0.362, allocations: 88 kB / 465.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.3622, allocations: 112.4 kB / 465.9 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005785/0.368, allocations: 2.73 MB / 468.7 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01809/0.386, allocations: 8.688 MB / 477.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.3894, allocations: 1.95 MB / 479.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002177/0.3915, allocations: 1.23 MB / 480.5 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002582/0.3918, allocations: 57.2 kB / 480.6 MB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.3918, allocations: 51.88 kB / 480.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.848e-06/0.3919, allocations: 0 / 480.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01181/0.4037, allocations: 5.31 MB / 485.9 MB, free: 15.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/0.4037, allocations: 64.72 kB / 486 MB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.4068, allocations: 1.499 MB / 487.5 MB, free: 13.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.4069, allocations: 49.7 kB / 487.6 MB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009516/0.4079, allocations: 0.9588 MB / 488.5 MB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.4084, allocations: 468 kB / 489 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004766/0.4088, allocations: 218.9 kB / 489.2 MB, free: 12.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.4091, allocations: 357.9 kB / 489.5 MB, free: 11.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.4103, allocations: 0.6935 MB / 490.2 MB, free: 11.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.4116, allocations: 0.8695 MB / 491.1 MB, free: 10.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.4141, allocations: 1.604 MB / 492.7 MB, free: 8.605 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.4141, allocations: 0 / 492.7 MB, free: 8.605 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004291/0.4184, allocations: 2.295 MB / 495 MB, free: 6.289 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4184, allocations: 8 kB / 495 MB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.4184, allocations: 4 kB / 495 MB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002785/0.4212, allocations: 0.8228 MB / 495.8 MB, free: 5.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.422, allocations: 203.7 kB / 496 MB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/0.4356, allocations: 11.06 MB / 0.4952 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.4367, allocations: 51.95 kB / 0.4953 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001982/0.4369, allocations: 40 kB / 0.4953 GB, free: 9.637 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * 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 {(2,29,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.001753/0.4387, allocations: 0.8276 MB / 0.4961 GB, free: 8.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005191/0.4392, allocations: 174.9 kB / 0.4963 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004421/0.4436, allocations: 2.253 MB / 0.4985 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.4436, allocations: 19.98 kB / 0.4985 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.686e-05/0.4437, allocations: 8.531 kB / 0.4985 GB, free: 6.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.4437, allocations: 3.984 kB / 0.4985 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009496/0.4532, allocations: 4.679 MB / 0.5031 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.4532, allocations: 4 kB / 0.5031 GB, free: 1.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006795/0.4539, allocations: 151.8 kB / 0.5032 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/0.4566, allocations: 0.8194 MB / 0.504 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.4567, allocations: 31.98 kB / 0.5041 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01405/0.4708, allocations: 10.96 MB / 0.5148 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4708, allocations: 3.938 kB / 0.5148 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/0.4766, allocations: 3.224 MB / 0.5179 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.4777, allocations: 342.9 kB / 0.5182 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004303/0.4782, allocations: 24 kB / 0.5183 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.4792, allocations: 71.94 kB / 0.5183 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/0.4795, allocations: 125 kB / 0.5185 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/0.4796, allocations: 32 kB / 0.5185 GB, free: 1.254 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002053/0.4817, allocations: 1.064 MB / 0.5195 GB, free: 192 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4817, allocations: 4 kB / 0.5195 GB, free: 188 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002326/0.484, allocations: 0.5078 MB / 0.52 GB, free: 15.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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 {(2,29,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.00612/0.4901, allocations: 3.882 MB / 0.5238 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004085/0.4942, allocations: 2.353 MB / 0.5261 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.4942, allocations: 0.875 kB / 0.5261 GB, free: 9.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002479/0.4967, allocations: 1.589 MB / 0.5277 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.4994, allocations: 0.5012 MB / 0.5282 GB, free: 7.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2589/0.7583, allocations: 17.67 MB / 0.5454 GB, free: 97.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/0.7596, allocations: 2.039 MB / 0.5474 GB, free: 96.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007716/0.7604, allocations: 314.2 kB / 0.5477 GB, free: 96.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.7611, allocations: 0.7846 MB / 0.5485 GB, free: 96.23 MB / 446.1 MB Notification: Performance of SimCode: time 1.644e-06/0.7612, allocations: 0 / 0.5485 GB, free: 96.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1346/0.8957, allocations: 52.02 MB / 0.5993 GB, free: 47.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/17.46, allocations: 4 kB / 0.5993 GB, free: 47.14 MB / 446.1 MB " [Timeout remaining time 642] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 20.109097635140643]