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.001304/0.001304, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001449/0.001449, allocations: 204 kB / 23.73 MB, free: 4.379 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001444/0.001444, allocations: 47.92 kB / 377.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2285, allocations: 53.36 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008419/0.2369, allocations: 6.149 MB / 437.2 MB, free: 472 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.2419, allocations: 2.232 MB / 439.5 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007913/0.2427, allocations: 59.56 kB / 439.5 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.2438, allocations: 453 kB / 440 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.2456, allocations: 0.6954 MB / 440.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.2462, allocations: 279.6 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003632/0.2498, allocations: 2.84 MB / 443.8 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.2519, allocations: 1.371 MB / 445.1 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.2547, allocations: 1.357 MB / 446.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002776/0.2575, allocations: 1.572 MB / 448.1 MB, free: 5.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005607/0.258, allocations: 348 kB / 448.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008596/0.2589, allocations: 439.8 kB / 448.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.2598, allocations: 0.9037 MB / 449.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.2616, allocations: 1.245 MB / 451 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.2666, allocations: 4.664 MB / 455.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2666, allocations: 0 / 455.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2666, allocations: 4 kB / 455.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.223e-05/0.2666, allocations: 0 / 455.7 MB, free: 13.92 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.005967/0.2726, allocations: 2.971 MB / 458.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2726, allocations: 12.03 kB / 458.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004542/0.2731, allocations: 324.9 kB / 459 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.2741, allocations: 359 kB / 459.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.2774, allocations: 1.615 MB / 460.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.2775, allocations: 164.4 kB / 461.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003645/0.2779, allocations: 212 kB / 461.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/0.2833, allocations: 3.362 MB / 464.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.227e-05/0.2834, allocations: 0 / 464.7 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002198/0.2836, allocations: 99.98 kB / 464.8 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001288/0.2837, allocations: 108.4 kB / 464.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/0.2884, allocations: 2.727 MB / 467.6 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.3022, allocations: 7.955 MB / 475.5 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/0.305, allocations: 1.931 MB / 477.5 MB, free: 7.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001917/0.3069, allocations: 1.238 MB / 478.7 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.3072, allocations: 49.28 kB / 478.8 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.3072, allocations: 43.88 kB / 478.8 MB, free: 6.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.417e-06/0.3072, allocations: 4 kB / 478.8 MB, free: 6.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01092/0.3181, allocations: 5.31 MB / 484.1 MB, free: 1.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.3182, allocations: 64.72 kB / 484.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.3205, allocations: 1.506 MB / 485.7 MB, free: 15.42 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.3207, allocations: 45.7 kB / 485.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008016/0.3215, allocations: 0.9704 MB / 486.7 MB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.3219, allocations: 460 kB / 487.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/0.3223, allocations: 222.9 kB / 487.4 MB, free: 13.71 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3224, allocations: 361.9 kB / 487.7 MB, free: 13.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3237, allocations: 0.6974 MB / 488.4 MB, free: 12.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3249, allocations: 0.859 MB / 489.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002398/0.3273, allocations: 1.604 MB / 490.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3273, allocations: 0 / 490.9 MB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004067/0.3314, allocations: 2.299 MB / 493.2 MB, free: 7.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.3314, allocations: 8.031 kB / 493.2 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.3314, allocations: 4 kB / 493.2 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002885/0.3343, allocations: 0.8188 MB / 494 MB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.3351, allocations: 203.7 kB / 494.2 MB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0133/0.3484, allocations: 10.97 MB / 0.4933 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.3495, allocations: 59.95 kB / 0.4934 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-05/0.3496, allocations: 36 kB / 0.4934 GB, free: 11.21 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.001329/0.3509, allocations: 0.8238 MB / 0.4942 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003072/0.3513, allocations: 171 kB / 0.4944 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004011/0.3553, allocations: 2.257 MB / 0.4966 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.3553, allocations: 12 kB / 0.4966 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3553, allocations: 4 kB / 0.4966 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.3553, allocations: 3.984 kB / 0.4966 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/0.3633, allocations: 4.43 MB / 0.5009 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.3633, allocations: 4 kB / 0.501 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.364, allocations: 160 kB / 0.5011 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002818/0.3668, allocations: 0.8077 MB / 0.5019 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.562e-05/0.3669, allocations: 31.98 kB / 0.5019 GB, free: 2.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/0.3799, allocations: 10.86 MB / 0.5125 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3799, allocations: 3.938 kB / 0.5125 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005248/0.3851, allocations: 3.224 MB / 0.5157 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009435/0.3861, allocations: 342.9 kB / 0.516 GB, free: 3.457 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.3863, allocations: 28 kB / 0.516 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008286/0.3871, allocations: 63.94 kB / 0.5161 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/0.3874, allocations: 121 kB / 0.5162 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.3875, allocations: 36 kB / 0.5162 GB, free: 3.211 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.3891, allocations: 1.064 MB / 0.5173 GB, free: 2.145 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3891, allocations: 0 / 0.5173 GB, free: 2.145 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001668/0.3907, allocations: 0.5156 MB / 0.5178 GB, free: 1.629 MB / 430.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.005747/0.3965, allocations: 3.877 MB / 0.5216 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003751/0.4002, allocations: 2.349 MB / 0.5239 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.4002, allocations: 4 kB / 0.5239 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002435/0.4027, allocations: 1.59 MB / 0.5254 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.4047, allocations: 0.5116 MB / 0.5259 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1968/0.6014, allocations: 17.65 MB / 0.5432 GB, free: 99 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.6026, allocations: 1.474 MB / 0.5446 GB, free: 98.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007149/0.6033, allocations: 312 kB / 0.5449 GB, free: 98.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007134/0.604, allocations: 0.7826 MB / 0.5457 GB, free: 97.93 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.604, allocations: 0 / 0.5457 GB, free: 97.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/0.72, allocations: 53.75 MB / 0.5982 GB, free: 47.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.24/14.96, allocations: 15.84 kB / 0.5982 GB, free: 47.63 MB / 446.1 MB " [Timeout remaining time 645] (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: 17.48290127501241]