Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001405/0.001405, allocations: 114 kB / 20.43 MB, free: 1.457 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.001665/0.001665, allocations: 213.9 kB / 23.74 MB, free: 4.672 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.462/1.462, allocations: 230.5 MB / 257.4 MB, free: 8.012 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.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 377.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3492, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01366/0.3628, allocations: 10.85 MB / 442.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008048/0.3709, allocations: 3.278 MB / 445.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.3733, allocations: 115.2 kB / 445.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.3755, allocations: 0.7449 MB / 446.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.3794, allocations: 1.208 MB / 447.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.3806, allocations: 499.3 kB / 447.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007104/0.3877, allocations: 5.205 MB / 453.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003647/0.3914, allocations: 2.499 MB / 455.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005303/0.3967, allocations: 2.476 MB / 458.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005228/0.4019, allocations: 2.857 MB / 460.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.4031, allocations: 0.625 MB / 461.6 MB, free: 8.164 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.405, allocations: 0.7224 MB / 462.3 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001703/0.4067, allocations: 1.663 MB / 464 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004579/0.4112, allocations: 2.785 MB / 466.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.423, allocations: 8.487 MB / 475.2 MB, free: 10.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.423, allocations: 3.984 kB / 475.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.423, allocations: 0 / 475.2 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002499/0.4232, allocations: 0 / 475.2 MB, free: 10.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01414/0.4374, allocations: 5.183 MB / 480.4 MB, free: 5.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.4374, allocations: 15.97 kB / 480.4 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00114/0.4386, allocations: 0.5599 MB / 481 MB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.4406, allocations: 0.5993 MB / 481.6 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00623/0.4468, allocations: 2.838 MB / 484.4 MB, free: 1.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002728/0.4471, allocations: 299.8 kB / 484.7 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006503/0.4478, allocations: 388 kB / 485.1 MB, free: 456 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.4585, allocations: 5.861 MB / 491 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.53e-05/0.4586, allocations: 3.938 kB / 491 MB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.459, allocations: 164 kB / 491.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002437/0.4592, allocations: 228.1 kB / 491.3 MB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00913/0.4683, allocations: 5.052 MB / 496.4 MB, free: 5.039 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03184/0.5002, allocations: 16.81 MB / 0.5012 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005965/0.5061, allocations: 3.901 MB / 0.505 GB, free: 0 / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003718/0.5098, allocations: 2.446 MB / 0.5074 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002782/0.5101, allocations: 65.95 kB / 0.5074 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.395e-05/0.5102, allocations: 64.5 kB / 0.5075 GB, free: 13.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 3.977e-06/0.5102, allocations: 0 / 0.5075 GB, free: 13.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02015/0.5303, allocations: 10.04 MB / 0.5173 GB, free: 3.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.5304, allocations: 77.42 kB / 0.5174 GB, free: 3.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004801/0.5352, allocations: 2.648 MB / 0.52 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000307/0.5355, allocations: 73.7 kB / 0.52 GB, free: 464 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.5371, allocations: 1.687 MB / 0.5217 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001/0.5381, allocations: 0.887 MB / 0.5226 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/0.5388, allocations: 408.7 kB / 0.523 GB, free: 13.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.539, allocations: 309.1 kB / 0.5232 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/0.5412, allocations: 1.34 MB / 0.5246 GB, free: 11.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002344/0.5436, allocations: 1.647 MB / 0.5262 GB, free: 10.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/0.5482, allocations: 3.083 MB / 0.5292 GB, free: 6.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.5482, allocations: 0 / 0.5292 GB, free: 6.852 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00819/0.5564, allocations: 4.435 MB / 0.5335 GB, free: 2.336 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.5565, allocations: 8 kB / 0.5335 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.5565, allocations: 7.984 kB / 0.5335 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005543/0.562, allocations: 1.655 MB / 0.5351 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.5637, allocations: 387.5 kB / 0.5355 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2605/0.8242, allocations: 24.7 MB / 0.5596 GB, free: 80.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/0.8262, allocations: 102.1 kB / 0.5597 GB, free: 80.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001657/0.8264, allocations: 74.75 kB / 0.5598 GB, free: 80.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002639/0.829, allocations: 1.419 MB / 0.5612 GB, free: 80.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.8296, allocations: 313.4 kB / 0.5615 GB, free: 80.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006184/0.8358, allocations: 4.349 MB / 0.5657 GB, free: 78.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.8358, allocations: 26.72 kB / 0.5658 GB, free: 78.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.8358, allocations: 6.906 kB / 0.5658 GB, free: 78.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.8359, allocations: 11.95 kB / 0.5658 GB, free: 78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.8469, allocations: 8.774 MB / 0.5743 GB, free: 69.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.8469, allocations: 0 / 0.5743 GB, free: 69.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.8479, allocations: 283.6 kB / 0.5746 GB, free: 69.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004352/0.8522, allocations: 1.618 MB / 0.5762 GB, free: 67.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.8524, allocations: 59.97 kB / 0.5762 GB, free: 67.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01759/0.87, allocations: 24.45 MB / 0.6001 GB, free: 42.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.87, allocations: 0 / 0.6001 GB, free: 42.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/0.8775, allocations: 6.072 MB / 0.6061 GB, free: 36.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/0.8791, allocations: 0.6287 MB / 0.6067 GB, free: 35.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.8795, allocations: 55.98 kB / 0.6067 GB, free: 35.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/0.8807, allocations: 120 kB / 0.6068 GB, free: 35.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004674/0.8812, allocations: 225.5 kB / 0.607 GB, free: 35.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.8813, allocations: 64 kB / 0.6071 GB, free: 35.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002214/0.8835, allocations: 1.852 MB / 0.6089 GB, free: 33.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.8835, allocations: 0 / 0.6089 GB, free: 33.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003109/0.8866, allocations: 0.9727 MB / 0.6099 GB, free: 32.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007415/0.894, allocations: 6.765 MB / 0.6165 GB, free: 25.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005722/0.8997, allocations: 4.775 MB / 0.6211 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.8998, allocations: 4 kB / 0.6211 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003622/0.9034, allocations: 3.265 MB / 0.6243 GB, free: 17.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003681/0.9071, allocations: 0.9589 MB / 0.6253 GB, free: 16.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04952/0.9566, allocations: 32.06 MB / 0.6566 GB, free: 15.57 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004124/0.9607, allocations: 3.193 MB / 0.6597 GB, free: 12.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001976/0.9627, allocations: 0.5831 MB / 0.6603 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/0.9648, allocations: 1.487 MB / 0.6617 GB, free: 10.27 MB / 478.1 MB Notification: Performance of SimCode: time 1.864e-06/0.9648, allocations: 0 / 0.6617 GB, free: 10.27 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4576/1.422, allocations: 94.07 MB / 0.7536 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/21, allocations: 3.25 kB / 0.7536 GB, free: 178.4 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 24.00549688981846]