Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 43.92 kB / 365.7 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09911, allocations: 52.15 MB / 417.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01258/0.1117, allocations: 10.75 MB / 428.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006758/0.1185, allocations: 3.182 MB / 431.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.1204, allocations: 87.62 kB / 431.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002133/0.1225, allocations: 0.7371 MB / 432.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.1264, allocations: 1.173 MB / 433.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001242/0.1277, allocations: 467.4 kB / 434.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007191/0.1349, allocations: 5.128 MB / 439.3 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005415/0.1403, allocations: 3.448 MB / 442.8 MB, free: 3.426 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005153/0.1454, allocations: 2.391 MB / 445.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2039/0.3494, allocations: 2.832 MB / 448 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001747/0.3511, allocations: 0.6188 MB / 448.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.3532, allocations: 0.7059 MB / 449.3 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001978/0.3552, allocations: 1.643 MB / 451 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006291/0.3615, allocations: 2.767 MB / 453.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01402/0.3755, allocations: 8.437 MB / 462.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.3755, allocations: 0 / 462.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3755, allocations: 1.156 kB / 462.2 MB, free: 9.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003111/0.3759, allocations: 0.9375 kB / 462.2 MB, free: 9.754 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01694/0.3928, allocations: 5.218 MB / 467.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3928, allocations: 9.625 kB / 467.4 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001748/0.3946, allocations: 0.5605 MB / 468 MB, free: 6.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002664/0.3972, allocations: 0.5758 MB / 468.5 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007502/0.4047, allocations: 2.867 MB / 471.4 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/0.405, allocations: 293.2 kB / 471.7 MB, free: 4.211 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001669/0.4067, allocations: 389.4 kB / 472.1 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.4205, allocations: 5.8 MB / 477.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.532e-05/0.4206, allocations: 3.844 kB / 477.9 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005385/0.4211, allocations: 167.2 kB / 478 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002346/0.4214, allocations: 206.9 kB / 478.2 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4318, allocations: 5.021 MB / 483.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.472, allocations: 16.22 MB / 499.5 MB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/0.4832, allocations: 6.617 MB / 0.4942 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006285/0.4895, allocations: 2.45 MB / 0.4966 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/0.4902, allocations: 131.1 kB / 0.4968 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.4903, allocations: 68.55 kB / 0.4968 GB, free: 7.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 8.486e-06/0.4903, allocations: 3.938 kB / 0.4968 GB, free: 7.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02938/0.5197, allocations: 10.73 MB / 0.5073 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.483e-05/0.5198, allocations: 77.42 kB / 0.5074 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007052/0.5269, allocations: 2.631 MB / 0.51 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005347/0.5274, allocations: 73.7 kB / 0.51 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.5292, allocations: 1.676 MB / 0.5117 GB, free: 8.332 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001297/0.5305, allocations: 0.887 MB / 0.5125 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.5318, allocations: 412.7 kB / 0.5129 GB, free: 7.051 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.532, allocations: 305.1 kB / 0.5132 GB, free: 6.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002507/0.5345, allocations: 1.332 MB / 0.5145 GB, free: 5.414 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00278/0.5373, allocations: 1.655 MB / 0.5161 GB, free: 3.668 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005283/0.5426, allocations: 3.079 MB / 0.5191 GB, free: 500 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.5426, allocations: 8 kB / 0.5191 GB, free: 492 kB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009604/0.5522, allocations: 4.433 MB / 0.5235 GB, free: 12.04 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/0.5522, allocations: 8 kB / 0.5235 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.5522, allocations: 8 kB / 0.5235 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/0.558, allocations: 1.646 MB / 0.5251 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.5599, allocations: 392 kB / 0.5255 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03315/0.593, allocations: 25.75 MB / 0.5506 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.5963, allocations: 91.92 kB / 0.5507 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007423/0.5971, allocations: 76 kB / 0.5508 GB, free: 14.87 MB / 462.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.004834/0.6019, allocations: 1.417 MB / 0.5522 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001543/0.6035, allocations: 306.1 kB / 0.5524 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009783/0.6132, allocations: 4.353 MB / 0.5567 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.6133, allocations: 24 kB / 0.5567 GB, free: 8.742 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.06e-05/0.6133, allocations: 12 kB / 0.5567 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-05/0.6133, allocations: 11.95 kB / 0.5567 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/0.6361, allocations: 8.741 MB / 0.5653 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/0.6361, allocations: 0 / 0.5653 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.6374, allocations: 293.7 kB / 0.5656 GB, free: 15.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005563/0.643, allocations: 1.612 MB / 0.5671 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002888/0.6433, allocations: 62.59 kB / 0.5672 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03094/0.6742, allocations: 25.5 MB / 0.5921 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.6742, allocations: 0 / 0.5921 GB, free: 3.285 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/0.6856, allocations: 6.073 MB / 0.598 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002878/0.6885, allocations: 0.6826 MB / 0.5987 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006585/0.6892, allocations: 52 kB / 0.5987 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.6906, allocations: 127.8 kB / 0.5989 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006794/0.6913, allocations: 212.3 kB / 0.5991 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/0.6915, allocations: 67.98 kB / 0.5991 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003469/0.6949, allocations: 1.848 MB / 0.6009 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6949, allocations: 4 kB / 0.6009 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004532/0.6995, allocations: 0.9531 MB / 0.6019 GB, free: 9.172 MB / 0.4981 GB 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.01077/0.7102, allocations: 6.772 MB / 0.6085 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008576/0.7188, allocations: 4.765 MB / 0.6131 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/0.7188, allocations: 4.5 kB / 0.6131 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005559/0.7244, allocations: 3.271 MB / 0.6163 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/0.7296, allocations: 0.9634 MB / 0.6173 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2842/1.014, allocations: 31.91 MB / 0.6484 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/1.017, allocations: 3.165 MB / 0.6515 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002046/1.019, allocations: 0.5709 MB / 0.6521 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/1.021, allocations: 1.47 MB / 0.6535 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.943e-06/1.021, allocations: 0 / 0.6535 GB, free: 161.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1522/1.173, allocations: 91.69 MB / 0.7431 GB, free: 77.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.64/19.81, allocations: 4 kB / 0.7431 GB, free: 77.91 MB / 0.5137 GB " [Timeout remaining time 640] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 22.794710863847286]