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.001365/0.001365, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001375/0.001375, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.468/1.468, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.001868/0.001868, allocations: 67.88 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1234, allocations: 53.32 MB / 426.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.2582/0.3816, allocations: 6.943 MB / 433.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004681/0.3863, allocations: 2.358 MB / 436 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.3874, allocations: 47.38 kB / 436 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.3887, allocations: 464.4 kB / 436.5 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002133/0.3908, allocations: 0.6915 MB / 437.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.3915, allocations: 277.3 kB / 437.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003978/0.3954, allocations: 2.883 MB / 440.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003168/0.3986, allocations: 1.867 MB / 442.2 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004115/0.4027, allocations: 1.336 MB / 443.5 MB, free: 3.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.4064, allocations: 1.584 MB / 445.1 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.4075, allocations: 349.6 kB / 445.4 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.4091, allocations: 440.8 kB / 445.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.4102, allocations: 0.9057 MB / 446.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.4133, allocations: 1.542 MB / 448.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007881/0.4211, allocations: 4.661 MB / 453 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4211, allocations: 0 / 453 MB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4211, allocations: 0 / 453 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001927/0.4213, allocations: 0 / 453 MB, free: 15.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.009979/0.4313, allocations: 3.058 MB / 456 MB, free: 13.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.4314, allocations: 10.28 kB / 456.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006577/0.432, allocations: 331.3 kB / 456.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.4334, allocations: 355.4 kB / 456.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/0.4371, allocations: 1.673 MB / 458.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.4373, allocations: 168.8 kB / 458.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.4377, allocations: 224.2 kB / 458.8 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005899/0.4436, allocations: 3.207 MB / 462 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.684e-05/0.4436, allocations: 4.906 kB / 462 MB, free: 9.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002378/0.4438, allocations: 98.31 kB / 462.1 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.444, allocations: 124.2 kB / 462.2 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005216/0.4492, allocations: 2.742 MB / 464.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.4658, allocations: 9.135 MB / 474.1 MB, free: 1.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003801/0.4696, allocations: 3.295 MB / 477.4 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001948/0.4715, allocations: 1.222 MB / 478.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002634/0.4718, allocations: 126.4 kB / 478.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.346e-05/0.4718, allocations: 55.44 kB / 478.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.867e-06/0.4718, allocations: 0 / 478.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01203/0.4839, allocations: 5.767 MB / 484.5 MB, free: 6.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.4839, allocations: 72.66 kB / 484.6 MB, free: 6.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002984/0.4869, allocations: 1.495 MB / 486.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.4871, allocations: 49.7 kB / 486.2 MB, free: 4.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008976/0.488, allocations: 0.9783 MB / 487.1 MB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.4884, allocations: 460 kB / 487.6 MB, free: 3.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.4888, allocations: 226.9 kB / 487.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.4891, allocations: 361.9 kB / 488.2 MB, free: 2.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.4902, allocations: 0.6896 MB / 488.9 MB, free: 2.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.4915, allocations: 0.8629 MB / 489.7 MB, free: 1.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.4939, allocations: 1.605 MB / 491.3 MB, free: 15.47 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4939, allocations: 0 / 491.3 MB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004089/0.498, allocations: 2.291 MB / 493.6 MB, free: 13.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.498, allocations: 11.94 kB / 493.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.498, allocations: 4 kB / 493.6 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/0.5007, allocations: 0.8204 MB / 494.4 MB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007979/0.5015, allocations: 211.7 kB / 494.7 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/0.5153, allocations: 11.49 MB / 0.4943 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/0.5167, allocations: 47.97 kB / 0.4943 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.5169, allocations: 44 kB / 0.4944 GB, free: 15.97 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.001707/0.5186, allocations: 0.8214 MB / 0.4952 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.519, allocations: 171 kB / 0.4953 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.5231, allocations: 2.249 MB / 0.4975 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.5231, allocations: 12 kB / 0.4975 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.5231, allocations: 4 kB / 0.4975 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.5231, allocations: 15.97 kB / 0.4976 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008745/0.5318, allocations: 4.704 MB / 0.5022 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.5319, allocations: 3.938 kB / 0.5022 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/0.5325, allocations: 159.9 kB / 0.5023 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002632/0.5352, allocations: 0.8106 MB / 0.5031 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.86e-05/0.5353, allocations: 28 kB / 0.5031 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0134/0.5487, allocations: 11.38 MB / 0.5142 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.5487, allocations: 8.016 kB / 0.5143 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005444/0.5541, allocations: 3.217 MB / 0.5174 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.5554, allocations: 415.9 kB / 0.5178 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.5556, allocations: 28 kB / 0.5178 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.5563, allocations: 71.88 kB / 0.5179 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.5567, allocations: 109.1 kB / 0.518 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-05/0.5567, allocations: 40 kB / 0.518 GB, free: 6.984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001868/0.5586, allocations: 1.064 MB / 0.5191 GB, free: 5.918 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5586, allocations: 0 / 0.5191 GB, free: 5.918 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002182/0.5608, allocations: 0.5156 MB / 0.5196 GB, free: 5.402 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.005807/0.5666, allocations: 3.88 MB / 0.5234 GB, free: 1.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003981/0.5706, allocations: 2.349 MB / 0.5257 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.5706, allocations: 7.938 kB / 0.5257 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.573, allocations: 1.586 MB / 0.5272 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.5754, allocations: 0.5094 MB / 0.5277 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02974/0.6052, allocations: 17.65 MB / 0.5449 GB, free: 10.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002148/0.6073, allocations: 2.051 MB / 0.547 GB, free: 8.875 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00108/0.6084, allocations: 313.5 kB / 0.5472 GB, free: 8.562 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001107/0.6095, allocations: 0.7883 MB / 0.548 GB, free: 7.773 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.6095, allocations: 0 / 0.548 GB, free: 7.773 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/0.7487, allocations: 50.96 MB / 0.5978 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.3/16.05, allocations: 3.938 kB / 0.5978 GB, free: 5.246 MB / 0.4981 GB " [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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.81675738794729]