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.0008173/0.0008173, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001286/0.001286, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9266/0.9266, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 2.255e-06/2.255e-06, allocations: 4 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.603e-05, allocations: 2.844 kB / 324.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005418/0.005434, allocations: 6.177 MB / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.008346, allocations: 2.25 MB / 332.9 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.008791, allocations: 59.62 kB / 333 MB, free: 7.328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.009649, allocations: 460.9 kB / 333.5 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001042/0.01069, allocations: 0.7335 MB / 334.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.01102, allocations: 279.6 kB / 334.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.01305, allocations: 2.99 MB / 337.5 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.01426, allocations: 1.328 MB / 338.8 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.01618, allocations: 1.99 MB / 340.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.01739, allocations: 1.399 MB / 342.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.01768, allocations: 352 kB / 342.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.01815, allocations: 443.7 kB / 342.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000555/0.01871, allocations: 0.9349 MB / 343.9 MB, free: 12.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007023/0.01941, allocations: 1.076 MB / 345 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.0224, allocations: 4.725 MB / 349.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.0224, allocations: 0 / 349.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.0224, allocations: 0 / 349.7 MB, free: 6.551 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.02243, allocations: 0 / 349.7 MB, free: 6.551 MB / 314.7 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.003162/0.02559, allocations: 2.955 MB / 352.6 MB, free: 3.547 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.02563, allocations: 11.98 kB / 352.7 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002762/0.02591, allocations: 333 kB / 353 MB, free: 3.199 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/0.02644, allocations: 351.1 kB / 353.3 MB, free: 2.855 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.0281, allocations: 1.615 MB / 354.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/0.02818, allocations: 168.8 kB / 355.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.02838, allocations: 216.3 kB / 355.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.03176, allocations: 3.394 MB / 358.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.03179, allocations: 4 kB / 358.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.03192, allocations: 84 kB / 358.8 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.172e-05/0.032, allocations: 128.4 kB / 358.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.03476, allocations: 2.75 MB / 361.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/0.04229, allocations: 7.993 MB / 369.7 MB, free: 2.145 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/0.04433, allocations: 1.935 MB / 371.6 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.04549, allocations: 1.226 MB / 372.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.04564, allocations: 53.22 kB / 372.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.04567, allocations: 55.86 kB / 372.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.625e-06/0.04567, allocations: 0 / 372.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.006231/0.0519, allocations: 5.31 MB / 378.2 MB, free: 9.543 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.05194, allocations: 68.72 kB / 378.3 MB, free: 9.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.05321, allocations: 1.502 MB / 379.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.383e-05/0.05326, allocations: 49.7 kB / 379.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.0537, allocations: 0.9706 MB / 380.8 MB, free: 6.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.05392, allocations: 468 kB / 381.3 MB, free: 6.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.05414, allocations: 214.9 kB / 381.5 MB, free: 6.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.932e-05/0.05424, allocations: 357.9 kB / 381.8 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006583/0.0549, allocations: 0.6935 MB / 382.5 MB, free: 5.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.05566, allocations: 0.8668 MB / 383.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.05735, allocations: 1.601 MB / 385 MB, free: 2.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.05736, allocations: 7.938 kB / 385 MB, free: 2.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002236/0.05959, allocations: 2.299 MB / 387.3 MB, free: 300 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.05962, allocations: 8 kB / 387.3 MB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.05962, allocations: 4 kB / 387.3 MB, free: 288 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.061, allocations: 0.8072 MB / 388.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/0.0614, allocations: 207.7 kB / 388.3 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00818/0.06958, allocations: 10.96 MB / 399.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/0.07004, allocations: 51.91 kB / 399.3 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.0701, allocations: 40.56 kB / 399.4 MB, free: 3.75 MB / 362.7 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.0008792/0.07098, allocations: 0.8214 MB / 400.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.07113, allocations: 171 kB / 400.4 MB, free: 2.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.07337, allocations: 2.249 MB / 402.6 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.07338, allocations: 12 kB / 402.6 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.07338, allocations: 4 kB / 402.6 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.07339, allocations: 11.91 kB / 402.6 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/0.07802, allocations: 4.438 MB / 407.1 MB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.07803, allocations: 4 kB / 407.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.07835, allocations: 155.8 kB / 407.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001213/0.07956, allocations: 0.8115 MB / 408.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.798e-05/0.07961, allocations: 28 kB / 408.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00709/0.0867, allocations: 10.86 MB / 418.9 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.08671, allocations: 4 kB / 418.9 MB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003103/0.08981, allocations: 3.22 MB / 422.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.09024, allocations: 342.9 kB / 422.5 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.09034, allocations: 31.98 kB / 422.5 MB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.09071, allocations: 67.89 kB / 422.6 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.09089, allocations: 121 kB / 422.7 MB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.891e-05/0.09093, allocations: 35.98 kB / 422.8 MB, free: 11.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009214/0.09186, allocations: 1.064 MB / 423.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09186, allocations: 3.938 kB / 423.8 MB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001052/0.09291, allocations: 0.5156 MB / 424.3 MB, free: 10.16 MB / 394.7 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.003516/0.09642, allocations: 3.858 MB / 428.2 MB, free: 6.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.09854, allocations: 2.35 MB / 430.5 MB, free: 3.852 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.09854, allocations: 7.938 kB / 430.6 MB, free: 3.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.09981, allocations: 1.59 MB / 432.1 MB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1009, allocations: 0.5067 MB / 432.7 MB, free: 1.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1453/0.2462, allocations: 17.71 MB / 450.4 MB, free: 114.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.2478, allocations: 1.476 MB / 451.8 MB, free: 114.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007396/0.2486, allocations: 314.2 kB / 452.1 MB, free: 114.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005552/0.2491, allocations: 0.785 MB / 452.9 MB, free: 114.6 MB / 410.7 MB Notification: Performance of SimCode: time 9.71e-07/0.2491, allocations: 0 / 452.9 MB, free: 114.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.301, allocations: 53.28 MB / 0.4943 GB, free: 67.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/9.588, allocations: 8.047 kB / 0.4944 GB, free: 67.71 MB / 410.7 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 11.423458016477525]