Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001442/0.001442, allocations: 110 kB / 20.43 MB, free: 1.453 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.001562/0.001562, allocations: 213.6 kB / 23.74 MB, free: 4.66 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.486/1.486, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002925/0.002925, allocations: 67.91 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2838, allocations: 53.41 MB / 431.2 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008241/0.292, allocations: 6.32 MB / 437.5 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.2957, allocations: 1.713 MB / 439.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006761/0.2963, allocations: 51.69 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006616/0.297, allocations: 317.4 kB / 439.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.2984, allocations: 449.2 kB / 440 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.2991, allocations: 359.5 kB / 440.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.3014, allocations: 2.156 MB / 442.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.3033, allocations: 1.407 MB / 443.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.3047, allocations: 1.071 MB / 445 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001904/0.3066, allocations: 1.245 MB / 446.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.307, allocations: 292 kB / 446.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.3077, allocations: 475.6 kB / 447 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006478/0.3084, allocations: 0.7052 MB / 447.7 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00143/0.3098, allocations: 1.241 MB / 448.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.3139, allocations: 3.641 MB / 452.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/0.3139, allocations: 11.92 kB / 452.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3139, allocations: 0 / 452.6 MB, free: 1.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.67e-05/0.314, allocations: 4 kB / 452.6 MB, free: 1.137 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005058/0.3191, allocations: 2.464 MB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3191, allocations: 8.031 kB / 455.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003778/0.3195, allocations: 303.7 kB / 455.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006993/0.3202, allocations: 267.4 kB / 455.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.3226, allocations: 1.258 MB / 456.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.3227, allocations: 156.5 kB / 457 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.323, allocations: 199.9 kB / 457.2 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.3272, allocations: 2.638 MB / 459.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.3272, allocations: 0 / 459.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.3274, allocations: 84 kB / 460 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-05/0.3275, allocations: 76.12 kB / 460 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003549/0.331, allocations: 2.097 MB / 462.1 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.3425, allocations: 7.374 MB / 469.5 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.3446, allocations: 1.304 MB / 470.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.3461, allocations: 0.8895 MB / 471.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.534e-05/0.3461, allocations: 13 kB / 471.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.3462, allocations: 51.48 kB / 471.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.3462, allocations: 7.875 kB / 471.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.00775/0.3539, allocations: 3.891 MB / 475.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.354, allocations: 64.41 kB / 475.7 MB, free: 9.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.3551, allocations: 0.8681 MB / 476.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.3552, allocations: 45.69 kB / 476.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.3559, allocations: 0.8591 MB / 477.5 MB, free: 7.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002881/0.3562, allocations: 337.1 kB / 477.8 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.3564, allocations: 178.6 kB / 478 MB, free: 7.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3566, allocations: 349.9 kB / 478.3 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007893/0.3574, allocations: 493.7 kB / 478.8 MB, free: 6.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009439/0.3583, allocations: 0.6694 MB / 479.5 MB, free: 5.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.3601, allocations: 1.205 MB / 480.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.3601, allocations: 0 / 480.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002755/0.3629, allocations: 1.628 MB / 482.3 MB, free: 2.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3629, allocations: 10.66 kB / 482.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3629, allocations: 4 kB / 482.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.364, allocations: 470.9 kB / 482.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.3647, allocations: 171.8 kB / 483 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009506/0.3742, allocations: 8.875 MB / 491.8 MB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.3749, allocations: 47.95 kB / 491.9 MB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-05/0.375, allocations: 36 kB / 491.9 MB, free: 8.672 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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 {(1,9,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.001163/0.3761, allocations: 0.6488 MB / 492.6 MB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.3764, allocations: 107.3 kB / 492.7 MB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.3766, allocations: 134.1 kB / 492.8 MB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.003e-05/0.3767, allocations: 15.94 kB / 492.8 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3767, allocations: 4 kB / 492.8 MB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3767, allocations: 7.969 kB / 492.8 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006029/0.3827, allocations: 3.457 MB / 496.3 MB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.3827, allocations: 0 / 496.3 MB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.3833, allocations: 127.8 kB / 496.4 MB, free: 4.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009717/0.3843, allocations: 451 kB / 496.9 MB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.3843, allocations: 16 kB / 496.9 MB, free: 3.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009211/0.3935, allocations: 8.802 MB / 0.4938 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3935, allocations: 3.984 kB / 0.4938 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.3971, allocations: 2.305 MB / 0.4961 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005975/0.3977, allocations: 207.3 kB / 0.4963 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.3978, allocations: 23.94 kB / 0.4963 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.3983, allocations: 39.95 kB / 0.4963 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.3985, allocations: 88.83 kB / 0.4964 GB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-05/0.3985, allocations: 31.92 kB / 0.4965 GB, free: 7.633 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008484/0.3994, allocations: 0.6122 MB / 0.497 GB, free: 7.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3994, allocations: 0 / 0.497 GB, free: 7.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001436/0.4008, allocations: 380 kB / 0.4974 GB, free: 6.656 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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 {(1,9,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.00406/0.4049, allocations: 2.895 MB / 0.5002 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.4078, allocations: 1.772 MB / 0.502 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4078, allocations: 1.312 kB / 0.502 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.4096, allocations: 1.211 MB / 0.5032 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.411, allocations: 311.1 kB / 0.5034 GB, free: 332 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/0.4302, allocations: 12.21 MB / 0.5154 GB, free: 3.816 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.4318, allocations: 1.722 MB / 0.5171 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005658/0.4323, allocations: 196.8 kB / 0.5172 GB, free: 1.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007814/0.4331, allocations: 0.6204 MB / 0.5179 GB, free: 1.246 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4331, allocations: 0 / 0.5179 GB, free: 1.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2906/0.7237, allocations: 34.75 MB / 0.5518 GB, free: 95.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.03, allocations: 4.062 kB / 0.5518 GB, free: 95.93 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.953743238002062]