Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 123.4 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 208.2 kB / 20.75 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 47.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1432, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.3309/0.4741, allocations: 6.267 MB / 432.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.4774, allocations: 1.703 MB / 434.3 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005718/0.478, allocations: 58.53 kB / 434.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005363/0.4785, allocations: 308 kB / 434.6 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.4798, allocations: 430.5 kB / 435.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006219/0.4804, allocations: 348.9 kB / 435.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.4828, allocations: 2.143 MB / 437.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.4852, allocations: 1.792 MB / 439.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.487, allocations: 1.056 MB / 440.4 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.4889, allocations: 1.233 MB / 441.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006341/0.4896, allocations: 291.2 kB / 441.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009328/0.4905, allocations: 427.8 kB / 442.3 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00071/0.4912, allocations: 0.7079 MB / 443 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001428/0.4926, allocations: 1.232 MB / 444.3 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.4977, allocations: 3.644 MB / 447.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4977, allocations: 0 / 447.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4977, allocations: 1.094 kB / 447.9 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001101/0.4978, allocations: 0 / 447.9 MB, free: 1.867 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.005849/0.5036, allocations: 2.538 MB / 450.5 MB, free: 376 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5037, allocations: 9.375 kB / 450.5 MB, free: 376 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004164/0.5041, allocations: 304.2 kB / 450.8 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008125/0.5049, allocations: 265 kB / 451 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.5074, allocations: 1.312 MB / 452.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.5075, allocations: 156.2 kB / 452.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.5079, allocations: 207.2 kB / 452.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00545/0.5133, allocations: 2.626 MB / 455.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-05/0.5134, allocations: 1.188 kB / 455.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.5136, allocations: 81.22 kB / 455.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.745e-05/0.5137, allocations: 56.81 kB / 455.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.5177, allocations: 2.088 MB / 457.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01411/0.5319, allocations: 7.31 MB / 464.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/0.5346, allocations: 2.283 MB / 467.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.5361, allocations: 0.8837 MB / 468 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.332e-05/0.5362, allocations: 13.5 kB / 468 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.5362, allocations: 48.53 kB / 468.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.647e-06/0.5362, allocations: 0 / 468.1 MB, free: 4.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.00943/0.5457, allocations: 4.201 MB / 472.3 MB, free: 2.164 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.5457, allocations: 64.34 kB / 472.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/0.5473, allocations: 0.872 MB / 473.2 MB, free: 1.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.5474, allocations: 45.64 kB / 473.3 MB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007865/0.5482, allocations: 0.8475 MB / 474.1 MB, free: 304 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003481/0.5485, allocations: 345.6 kB / 474.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.5488, allocations: 178.6 kB / 474.6 MB, free: 15.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002044/0.549, allocations: 349.9 kB / 475 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/0.5498, allocations: 497.7 kB / 475.4 MB, free: 14.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5508, allocations: 0.6693 MB / 476.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/0.5527, allocations: 1.205 MB / 477.3 MB, free: 12.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.5527, allocations: 4 kB / 477.3 MB, free: 12.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002949/0.5556, allocations: 1.609 MB / 478.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.5557, allocations: 8 kB / 478.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.5557, allocations: 4 kB / 478.9 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.5569, allocations: 472.4 kB / 479.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.5575, allocations: 167.8 kB / 479.6 MB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.5678, allocations: 9.303 MB / 488.9 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009304/0.5688, allocations: 47.89 kB / 488.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.536e-05/0.5689, allocations: 36 kB / 489 MB, free: 0.7148 MB / 382.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.001368/0.5702, allocations: 0.6419 MB / 489.6 MB, free: 64 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.5705, allocations: 112.6 kB / 489.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.5708, allocations: 126.1 kB / 489.8 MB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.248e-05/0.5708, allocations: 15.98 kB / 489.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/0.5709, allocations: 4 kB / 489.8 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.5709, allocations: 7.734 kB / 489.9 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006147/0.577, allocations: 3.465 MB / 493.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.577, allocations: 3.984 kB / 493.3 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.5776, allocations: 131.7 kB / 493.5 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.5786, allocations: 447.1 kB / 493.9 MB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.491e-05/0.5787, allocations: 24.05 kB / 493.9 MB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009406/0.5881, allocations: 9.214 MB / 0.4913 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5881, allocations: 0 / 0.4913 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.5919, allocations: 2.297 MB / 0.4936 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.5925, allocations: 284.4 kB / 0.4938 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5926, allocations: 27.94 kB / 0.4939 GB, free: 15.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004794/0.5931, allocations: 39.89 kB / 0.4939 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.5933, allocations: 88.88 kB / 0.494 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.5934, allocations: 23.98 kB / 0.494 GB, free: 15.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009051/0.5943, allocations: 0.6161 MB / 0.4946 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5943, allocations: 0 / 0.4946 GB, free: 14.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001652/0.5959, allocations: 383.9 kB / 0.495 GB, free: 14.09 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.004058/0.6, allocations: 2.884 MB / 0.4978 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002944/0.6029, allocations: 1.791 MB / 0.4996 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.6029, allocations: 0 / 0.4996 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.6048, allocations: 1.204 MB / 0.5007 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.6064, allocations: 312 kB / 0.501 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/0.6271, allocations: 12.17 MB / 0.5129 GB, free: 11.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.6289, allocations: 1.718 MB / 0.5146 GB, free: 9.555 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006266/0.6295, allocations: 196.8 kB / 0.5148 GB, free: 9.359 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008082/0.6303, allocations: 0.6165 MB / 0.5154 GB, free: 8.742 MB / 430.1 MB Notification: Performance of SimCode: time 1.473e-06/0.6303, allocations: 0 / 0.5154 GB, free: 8.742 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0995/0.7298, allocations: 33.85 MB / 0.5484 GB, free: 7.234 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.74, allocations: 11.88 kB / 0.5484 GB, free: 7.223 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 18.771908796858042]