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.001928/0.001928, 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.001635/0.001635, 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.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.001914/0.001914, allocations: 55.91 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.245, allocations: 53.4 MB / 431.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009981/0.255, allocations: 6.184 MB / 437.3 MB, free: 248 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005696/0.2607, allocations: 2.239 MB / 439.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009819/0.2617, allocations: 59.56 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.2629, allocations: 453 kB / 440.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.2649, allocations: 0.7187 MB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.2654, allocations: 271.7 kB / 441.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.2686, allocations: 2.871 MB / 443.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001891/0.2705, allocations: 1.328 MB / 445.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.2732, allocations: 1.372 MB / 446.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.2758, allocations: 1.557 MB / 448.2 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005596/0.2764, allocations: 348 kB / 448.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009313/0.2773, allocations: 439.8 kB / 448.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008766/0.2782, allocations: 0.8999 MB / 449.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.2797, allocations: 1.249 MB / 451.1 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005371/0.2851, allocations: 4.691 MB / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2851, allocations: 0 / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2851, allocations: 0 / 455.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.487e-05/0.2852, allocations: 3.938 kB / 455.8 MB, free: 13.66 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.007338/0.2925, allocations: 2.983 MB / 458.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.2925, allocations: 11.98 kB / 458.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005323/0.2931, allocations: 333.1 kB / 459.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.2942, allocations: 347.1 kB / 459.5 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/0.2978, allocations: 1.627 MB / 461.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.298, allocations: 168.3 kB / 461.2 MB, free: 8.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/0.2984, allocations: 219.9 kB / 461.5 MB, free: 7.887 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006454/0.3048, allocations: 3.382 MB / 464.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.355e-05/0.3049, allocations: 0 / 464.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.3051, allocations: 95.98 kB / 464.9 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001578/0.3052, allocations: 120.5 kB / 465 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005195/0.3104, allocations: 2.75 MB / 467.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.3255, allocations: 7.998 MB / 475.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003098/0.3286, allocations: 1.939 MB / 477.7 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.3307, allocations: 1.23 MB / 479 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.3309, allocations: 41.28 kB / 479 MB, free: 6.043 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.224e-05/0.331, allocations: 51.88 kB / 479.1 MB, free: 5.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.028e-06/0.331, allocations: 0 / 479.1 MB, free: 5.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01174/0.3427, allocations: 5.318 MB / 484.4 MB, free: 0.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.3428, allocations: 64.72 kB / 484.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.3456, allocations: 1.51 MB / 485.9 MB, free: 15.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3457, allocations: 49.7 kB / 486 MB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/0.3466, allocations: 0.9744 MB / 487 MB, free: 13.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004533/0.347, allocations: 464 kB / 487.4 MB, free: 13.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.3474, allocations: 222.9 kB / 487.6 MB, free: 13.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003032/0.3477, allocations: 357.9 kB / 488 MB, free: 12.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.349, allocations: 0.6974 MB / 488.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.3502, allocations: 0.8655 MB / 489.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.3526, allocations: 1.597 MB / 491.2 MB, free: 9.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.3526, allocations: 4 kB / 491.2 MB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004144/0.3568, allocations: 2.295 MB / 493.5 MB, free: 7.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.3568, allocations: 7.984 kB / 493.5 MB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.3568, allocations: 4 kB / 493.5 MB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002753/0.3596, allocations: 0.8266 MB / 494.3 MB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.3604, allocations: 203.7 kB / 494.5 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/0.3739, allocations: 10.97 MB / 0.4936 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.375, allocations: 55.89 kB / 0.4937 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.3751, allocations: 40 kB / 0.4937 GB, free: 10.81 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.001463/0.3766, allocations: 0.8215 MB / 0.4945 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.377, allocations: 167 kB / 0.4947 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/0.3812, allocations: 2.253 MB / 0.4969 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.3812, allocations: 12 kB / 0.4969 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3812, allocations: 8 kB / 0.4969 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.3812, allocations: 3.984 kB / 0.4969 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008841/0.3901, allocations: 4.446 MB / 0.5012 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.3901, allocations: 0 / 0.5012 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006889/0.3908, allocations: 163.9 kB / 0.5014 GB, free: 2.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.3933, allocations: 0.7998 MB / 0.5022 GB, free: 2.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.701e-05/0.3934, allocations: 36.05 kB / 0.5022 GB, free: 1.973 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.4065, allocations: 10.87 MB / 0.5128 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4066, allocations: 4.031 kB / 0.5128 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/0.4122, allocations: 3.209 MB / 0.516 GB, free: 3.391 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/0.4135, allocations: 346.8 kB / 0.5163 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/0.4137, allocations: 35.92 kB / 0.5163 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/0.4145, allocations: 63.95 kB / 0.5164 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.4148, allocations: 121.1 kB / 0.5165 GB, free: 2.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.745e-05/0.4149, allocations: 40.44 kB / 0.5165 GB, free: 2.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.4165, allocations: 1.06 MB / 0.5176 GB, free: 1.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4165, allocations: 4 kB / 0.5176 GB, free: 1.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00188/0.4184, allocations: 0.5117 MB / 0.5181 GB, free: 1.215 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.005985/0.4244, allocations: 3.881 MB / 0.5219 GB, free: 13.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004082/0.4285, allocations: 2.354 MB / 0.5242 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4285, allocations: 0 / 0.5242 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002533/0.431, allocations: 1.582 MB / 0.5257 GB, free: 9.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.4336, allocations: 0.5108 MB / 0.5262 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2111/0.6447, allocations: 17.68 MB / 0.5435 GB, free: 97.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/0.6459, allocations: 1.482 MB / 0.5449 GB, free: 97.35 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007825/0.6466, allocations: 310.4 kB / 0.5452 GB, free: 97.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007353/0.6474, allocations: 0.7833 MB / 0.546 GB, free: 96.69 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6474, allocations: 6.375 kB / 0.546 GB, free: 96.69 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08779/0.7352, allocations: 53.31 MB / 0.598 GB, free: 46.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.42, allocations: 11.89 kB / 0.5981 GB, free: 46.96 MB / 446.1 MB " [Timeout remaining time 644] (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/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.177647371776402]