Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001257/0.001257, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001414/0.001414, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 57.8 kB / 347.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2242, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006393/0.2306, allocations: 6.068 MB / 402.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004042/0.2346, allocations: 2.238 MB / 404.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008575/0.2355, allocations: 55.69 kB / 404.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.2365, allocations: 454.8 kB / 405.2 MB, free: 2.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.2382, allocations: 0.7025 MB / 405.9 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.2387, allocations: 283.4 kB / 406.1 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.2416, allocations: 2.913 MB / 409.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.2433, allocations: 1.247 MB / 410.3 MB, free: 292 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.2463, allocations: 1.355 MB / 411.7 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002927/0.2492, allocations: 1.539 MB / 413.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005906/0.2498, allocations: 349.6 kB / 413.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.2509, allocations: 429.7 kB / 414 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008819/0.2518, allocations: 0.9002 MB / 414.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.2533, allocations: 1.238 MB / 416.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004852/0.2582, allocations: 4.65 MB / 420.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2582, allocations: 0 / 420.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2582, allocations: 0 / 420.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.54e-05/0.2583, allocations: 0 / 420.7 MB, free: 9.789 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005959/0.2642, allocations: 2.951 MB / 423.7 MB, free: 7.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2643, allocations: 11.98 kB / 423.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004613/0.2647, allocations: 328.8 kB / 424 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008491/0.2656, allocations: 323.1 kB / 424.3 MB, free: 6.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.2686, allocations: 1.482 MB / 425.8 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2687, allocations: 160.4 kB / 426 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003598/0.2691, allocations: 228 kB / 426.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005437/0.2745, allocations: 3.346 MB / 429.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/0.2746, allocations: 0 / 429.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002097/0.2748, allocations: 88 kB / 429.6 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.2749, allocations: 112.4 kB / 429.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/0.2797, allocations: 2.723 MB / 432.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/0.295, allocations: 7.986 MB / 440.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.298, allocations: 1.93 MB / 442.4 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.3, allocations: 1.238 MB / 443.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.3002, allocations: 45.22 kB / 443.7 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.3002, allocations: 47.88 kB / 443.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.206e-06/0.3002, allocations: 0 / 443.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01123/0.3114, allocations: 5.259 MB / 449 MB, free: 13.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.3115, allocations: 64.72 kB / 449 MB, free: 13.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.3139, allocations: 1.502 MB / 450.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.314, allocations: 49.7 kB / 450.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007827/0.3148, allocations: 0.9588 MB / 451.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004393/0.3152, allocations: 471.9 kB / 452 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003804/0.3156, allocations: 222.9 kB / 452.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.3158, allocations: 357.9 kB / 452.6 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.3169, allocations: 0.6935 MB / 453.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.3182, allocations: 0.8831 MB / 454.2 MB, free: 8.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002425/0.3206, allocations: 1.613 MB / 455.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3206, allocations: 0 / 455.8 MB, free: 6.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004124/0.3248, allocations: 2.291 MB / 458.1 MB, free: 4.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.3248, allocations: 8.031 kB / 458.1 MB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3248, allocations: 4 kB / 458.1 MB, free: 4.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.3275, allocations: 0.8228 MB / 458.9 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008728/0.3284, allocations: 203.7 kB / 459.1 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.3418, allocations: 10.98 MB / 470.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.3431, allocations: 55.95 kB / 470.1 MB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3432, allocations: 44.06 kB / 470.2 MB, free: 8.094 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.0014/0.3446, allocations: 0.8135 MB / 471 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003415/0.3449, allocations: 163 kB / 471.1 MB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.349, allocations: 2.257 MB / 473.4 MB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3491, allocations: 12 kB / 473.4 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3491, allocations: 4 kB / 473.4 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.3491, allocations: 11.97 kB / 473.4 MB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008403/0.3575, allocations: 4.422 MB / 477.9 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3575, allocations: 3.984 kB / 477.9 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006655/0.3582, allocations: 155.8 kB / 478 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002523/0.3607, allocations: 0.8158 MB / 478.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.289e-05/0.3608, allocations: 31.94 kB / 478.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.374, allocations: 10.87 MB / 489.7 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.374, allocations: 96 / 489.7 MB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.3793, allocations: 3.224 MB / 493 MB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.3805, allocations: 346.9 kB / 493.3 MB, free: 344 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.3807, allocations: 28 kB / 493.3 MB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/0.3815, allocations: 67.94 kB / 493.4 MB, free: 248 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/0.3818, allocations: 121.1 kB / 493.5 MB, free: 124 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.6e-05/0.3818, allocations: 39.92 kB / 493.5 MB, free: 84 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.3835, allocations: 1.056 MB / 494.6 MB, free: 15.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3835, allocations: 3.938 kB / 494.6 MB, free: 15.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001764/0.3852, allocations: 0.5156 MB / 495.1 MB, free: 14.5 MB / 414.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.005761/0.391, allocations: 3.879 MB / 499 MB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.3948, allocations: 2.349 MB / 0.4896 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3948, allocations: 0.9375 kB / 0.4896 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002544/0.3974, allocations: 1.601 MB / 0.4912 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/0.3996, allocations: 0.5041 MB / 0.4917 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02817/0.4278, allocations: 17.62 MB / 0.5089 GB, free: 4.062 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/0.4296, allocations: 1.474 MB / 0.5103 GB, free: 2.539 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000974/0.4306, allocations: 309.5 kB / 0.5106 GB, free: 2.23 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/0.4317, allocations: 0.7766 MB / 0.5114 GB, free: 1.457 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/0.4317, allocations: 4 kB / 0.5114 GB, free: 1.453 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2673/0.6989, allocations: 53.2 MB / 0.5633 GB, free: 149.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/14.97, allocations: 4.375 kB / 0.5633 GB, free: 149.7 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.44897385314107]