Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001867/0.001867, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002236/0.002236, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.785 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 67.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2311, allocations: 53.41 MB / 431.2 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.00809/0.2392, allocations: 6.175 MB / 437.3 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.2439, allocations: 2.239 MB / 439.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.245, allocations: 63.56 kB / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.2462, allocations: 453 kB / 440.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.2482, allocations: 0.7109 MB / 440.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.2488, allocations: 275.7 kB / 441 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00305/0.2518, allocations: 2.871 MB / 443.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.2537, allocations: 1.336 MB / 445.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.2563, allocations: 1.374 MB / 446.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.2586, allocations: 1.553 MB / 448.2 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000623/0.2593, allocations: 352 kB / 448.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.2603, allocations: 435.8 kB / 449 MB, free: 4.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008649/0.2611, allocations: 0.9038 MB / 449.9 MB, free: 3.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.2627, allocations: 1.253 MB / 451.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00505/0.2677, allocations: 4.68 MB / 455.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2677, allocations: 0 / 455.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2678, allocations: 4 kB / 455.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.754e-05/0.2678, allocations: 0 / 455.8 MB, free: 13.7 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: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.005807/0.2736, allocations: 2.987 MB / 458.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.2737, allocations: 19.97 kB / 458.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004196/0.2741, allocations: 321.1 kB / 459.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.2751, allocations: 351.1 kB / 459.5 MB, free: 9.977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.2782, allocations: 1.623 MB / 461.1 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.2784, allocations: 164.3 kB / 461.2 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/0.2787, allocations: 223.9 kB / 461.5 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005439/0.2842, allocations: 3.382 MB / 464.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.2842, allocations: 0 / 464.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/0.2844, allocations: 95.97 kB / 464.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.2846, allocations: 120.5 kB / 465 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/0.2892, allocations: 2.746 MB / 467.8 MB, free: 1.438 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.3035, allocations: 8.006 MB / 475.8 MB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.3064, allocations: 1.935 MB / 477.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.3084, allocations: 1.227 MB / 479 MB, free: 6.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.3086, allocations: 49.28 kB / 479 MB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3087, allocations: 43.88 kB / 479.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.787e-06/0.3087, allocations: 0 / 479.1 MB, free: 6.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01071/0.3194, allocations: 5.322 MB / 484.4 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.3195, allocations: 64.72 kB / 484.4 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.3217, allocations: 1.514 MB / 486 MB, free: 15.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.3218, allocations: 49.69 kB / 486 MB, free: 15 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/0.3226, allocations: 0.9706 MB / 487 MB, free: 14.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/0.323, allocations: 464 kB / 487.4 MB, free: 13.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.3234, allocations: 222.9 kB / 487.6 MB, free: 13.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.3236, allocations: 361.9 kB / 488 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3247, allocations: 0.6896 MB / 488.7 MB, free: 12.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.326, allocations: 0.8745 MB / 489.6 MB, free: 11.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.3283, allocations: 1.593 MB / 491.2 MB, free: 9.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3283, allocations: 0 / 491.2 MB, free: 9.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004048/0.3323, allocations: 2.295 MB / 493.4 MB, free: 7.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3324, allocations: 4 kB / 493.5 MB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.3324, allocations: 4 kB / 493.5 MB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.3351, allocations: 0.8228 MB / 494.3 MB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.336, allocations: 199.7 kB / 494.5 MB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.3491, allocations: 10.98 MB / 0.4936 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3502, allocations: 51.91 kB / 0.4937 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.051e-05/0.3503, allocations: 36 kB / 0.4937 GB, free: 10.86 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.001336/0.3516, allocations: 0.8254 MB / 0.4945 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.352, allocations: 171 kB / 0.4947 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/0.3561, allocations: 2.253 MB / 0.4969 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.3561, allocations: 16 kB / 0.4969 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3561, allocations: 4 kB / 0.4969 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3561, allocations: 7.969 kB / 0.4969 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008586/0.3647, allocations: 4.438 MB / 0.5012 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.3647, allocations: 4 kB / 0.5012 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/0.3654, allocations: 155.8 kB / 0.5014 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002558/0.3679, allocations: 0.8119 MB / 0.5022 GB, free: 2.039 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.273e-05/0.368, allocations: 31.94 kB / 0.5022 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/0.3807, allocations: 10.87 MB / 0.5128 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3807, allocations: 96 / 0.5128 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00525/0.3859, allocations: 3.217 MB / 0.516 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/0.387, allocations: 346.8 kB / 0.5163 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.3872, allocations: 35.92 kB / 0.5163 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000776/0.3879, allocations: 67.94 kB / 0.5164 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.3882, allocations: 121 kB / 0.5165 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.3883, allocations: 32 kB / 0.5165 GB, free: 2.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001593/0.3899, allocations: 1.064 MB / 0.5176 GB, free: 1.762 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3899, allocations: 0 / 0.5176 GB, free: 1.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001764/0.3917, allocations: 0.5156 MB / 0.5181 GB, free: 1.246 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.005775/0.3974, allocations: 3.881 MB / 0.5219 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.4013, allocations: 2.35 MB / 0.5242 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.4014, allocations: 0 / 0.5242 GB, free: 10.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002487/0.4038, allocations: 1.589 MB / 0.5257 GB, free: 9.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.4062, allocations: 0.4993 MB / 0.5262 GB, free: 8.789 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2068/0.613, allocations: 17.69 MB / 0.5435 GB, free: 98.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.6143, allocations: 1.475 MB / 0.5449 GB, free: 97.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008411/0.6151, allocations: 311.7 kB / 0.5452 GB, free: 97.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007449/0.6159, allocations: 0.7878 MB / 0.546 GB, free: 97.02 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.6159, allocations: 0 / 0.546 GB, free: 97.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08634/0.7022, allocations: 53.32 MB / 0.598 GB, free: 47.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.26, allocations: 11.08 kB / 0.5981 GB, free: 47.37 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[1].i,transformer1.l2sigma.inductor[3].i Variables in the result:time,cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i [Calling sys.exit(0), Time elapsed: 17.92213085712865]