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.0008249/0.0008249, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.000875/0.000875, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.912/0.912, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.432e-06/1.432e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.546e-05, allocations: 5.094 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005461/0.005477, allocations: 5.574 MB / 330.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003215/0.008691, allocations: 1.674 MB / 331.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.009366, allocations: 55.69 kB / 331.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.009862, allocations: 309.5 kB / 332.1 MB, free: 8.242 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.01122, allocations: 460.6 kB / 332.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.01185, allocations: 359.3 kB / 332.9 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001917/0.01377, allocations: 2.241 MB / 335.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.01515, allocations: 1.356 MB / 336.5 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/0.01702, allocations: 1.575 MB / 338.1 MB, free: 2.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.01834, allocations: 1.048 MB / 339.1 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.01865, allocations: 292 kB / 339.4 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005019/0.01915, allocations: 411.6 kB / 339.8 MB, free: 460 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004298/0.01958, allocations: 0.7284 MB / 340.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007792/0.02036, allocations: 0.8498 MB / 341.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.02265, allocations: 3.693 MB / 345.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02266, allocations: 0 / 345.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02266, allocations: 4 kB / 345.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.289e-05/0.0227, allocations: 4 kB / 345.1 MB, free: 11.16 MB / 314.7 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.0029/0.0256, allocations: 2.429 MB / 347.5 MB, free: 8.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.02565, allocations: 15.98 kB / 347.5 MB, free: 8.664 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002814/0.02593, allocations: 303.7 kB / 347.8 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004596/0.02639, allocations: 275.4 kB / 348.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.0278, allocations: 1.25 MB / 349.4 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-05/0.02787, allocations: 156.5 kB / 349.5 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001921/0.02807, allocations: 212.3 kB / 349.7 MB, free: 6.438 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.03076, allocations: 2.655 MB / 352.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.03079, allocations: 0 / 352.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.03091, allocations: 80 kB / 352.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.03098, allocations: 76.12 kB / 352.5 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.03326, allocations: 2.101 MB / 354.6 MB, free: 1.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006674/0.03994, allocations: 6.622 MB / 361.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.0412, allocations: 1.305 MB / 362.6 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009697/0.04217, allocations: 0.8935 MB / 363.4 MB, free: 8.426 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.884e-05/0.04221, allocations: 12.94 kB / 363.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.04224, allocations: 51.5 kB / 363.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.454e-06/0.04224, allocations: 0 / 363.5 MB, free: 8.352 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.004806/0.04705, allocations: 3.887 MB / 367.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.04709, allocations: 68.34 kB / 367.5 MB, free: 4.344 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000845/0.04793, allocations: 0.8758 MB / 368.3 MB, free: 3.453 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.652e-05/0.04798, allocations: 45.69 kB / 368.4 MB, free: 3.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004771/0.04846, allocations: 0.8553 MB / 369.2 MB, free: 2.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.04866, allocations: 337.1 kB / 369.6 MB, free: 2.203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001987/0.04886, allocations: 178.6 kB / 369.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.049, allocations: 341.9 kB / 370.1 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.04955, allocations: 0.4899 MB / 370.6 MB, free: 1.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.05016, allocations: 0.6694 MB / 371.2 MB, free: 464 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.05147, allocations: 1.205 MB / 372.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.05147, allocations: 4 kB / 372.4 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001872/0.05334, allocations: 1.621 MB / 374.1 MB, free: 13.54 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.05336, allocations: 8 kB / 374.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.05337, allocations: 11.98 kB / 374.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008276/0.0542, allocations: 466.9 kB / 374.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.05457, allocations: 171.8 kB / 374.7 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00626/0.06083, allocations: 8.806 MB / 383.5 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.06116, allocations: 51.89 kB / 383.6 MB, free: 3.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.06121, allocations: 32 kB / 383.6 MB, free: 3.539 MB / 346.7 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.0008726/0.06209, allocations: 0.6465 MB / 384.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.06223, allocations: 107.3 kB / 384.3 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.06236, allocations: 138.1 kB / 384.5 MB, free: 2.641 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.06237, allocations: 16 kB / 384.5 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.606e-05/0.06239, allocations: 7.984 kB / 384.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.0624, allocations: 7.969 kB / 384.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00391/0.06631, allocations: 3.317 MB / 387.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.06631, allocations: 0 / 387.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.06659, allocations: 127.8 kB / 388 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005362/0.06712, allocations: 451.1 kB / 388.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.06716, allocations: 19.98 kB / 388.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00556/0.07272, allocations: 8.744 MB / 397.2 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.07273, allocations: 4.031 kB / 397.2 MB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.07486, allocations: 2.297 MB / 399.5 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004592/0.07532, allocations: 207.3 kB / 399.7 MB, free: 2.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.07539, allocations: 27.98 kB / 399.7 MB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.07561, allocations: 43.95 kB / 399.7 MB, free: 2.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.07577, allocations: 96.7 kB / 399.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.0758, allocations: 20 kB / 399.8 MB, free: 2.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000511/0.07631, allocations: 0.6161 MB / 400.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07631, allocations: 0 / 400.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001032/0.07734, allocations: 380 kB / 400.8 MB, free: 1.711 MB / 362.7 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.002484/0.07983, allocations: 2.884 MB / 403.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.0815, allocations: 1.781 MB / 405.5 MB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.08151, allocations: 4 kB / 405.5 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.08252, allocations: 1.207 MB / 406.7 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009611/0.08348, allocations: 294.6 kB / 407 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/0.09539, allocations: 12.17 MB / 419.2 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008302/0.09622, allocations: 1.146 MB / 420.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003506/0.09657, allocations: 192.9 kB / 420.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/0.09716, allocations: 0.6214 MB / 421.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.09716, allocations: 3.938 kB / 421.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/0.31, allocations: 34.87 MB / 456 MB, free: 113.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.701/9.011, allocations: 3.375 kB / 456 MB, free: 113.6 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.642216998152435]