Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.0008323/0.0008323, allocations: 80.06 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0007507/0.0007507, allocations: 149.1 kB / 23.93 MB, free: 0.625 MB / 18.57 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 0.8609/0.8609, allocations: 173.3 MB / 200.4 MB, free: 9.465 MB / 186.7 MB " [Timeout remaining time 179] 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.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.695e-05/3e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005352/0.005382, allocations: 5.515 MB / 323.9 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.007666, allocations: 1.624 MB / 325.6 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000379/0.008045, allocations: 55.69 kB / 325.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.008461, allocations: 309.5 kB / 325.9 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.009291, allocations: 456.6 kB / 326.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000409/0.0097, allocations: 343.5 kB / 326.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.01097, allocations: 2.206 MB / 328.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.01209, allocations: 1.36 MB / 330.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.01313, allocations: 1.564 MB / 331.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008953/0.01402, allocations: 1.04 MB / 332.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.01424, allocations: 288 kB / 333.2 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003964/0.01463, allocations: 419.6 kB / 333.6 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003918/0.01502, allocations: 0.7245 MB / 334.3 MB, free: 6.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005613/0.01558, allocations: 0.8537 MB / 335.1 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.01768, allocations: 3.673 MB / 338.8 MB, free: 1.848 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01768, allocations: 7.938 kB / 338.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01768, allocations: 0 / 338.8 MB, free: 1.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.01771, allocations: 0 / 338.8 MB, free: 1.84 MB / 298.7 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.002578/0.02029, allocations: 2.432 MB / 341.3 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.02033, allocations: 8.922 kB / 341.3 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002581/0.02059, allocations: 307.7 kB / 341.6 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.02087, allocations: 239.4 kB / 341.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.02216, allocations: 1.226 MB / 343 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/0.02224, allocations: 160.5 kB / 343.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.02242, allocations: 204.4 kB / 343.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.0251, allocations: 2.64 MB / 346 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.02513, allocations: 7.938 kB / 346 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.02525, allocations: 84 kB / 346.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.02529, allocations: 52 kB / 346.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.02752, allocations: 2.081 MB / 348.2 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006078/0.03359, allocations: 6.606 MB / 354.8 MB, free: 1.426 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.0348, allocations: 1.304 MB / 356.2 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009098/0.03571, allocations: 0.8932 MB / 357 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.03575, allocations: 9 kB / 357.1 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.03578, allocations: 43.56 kB / 357.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 2.304e-06/0.03578, allocations: 4 kB / 357.1 MB, free: 15.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=97): time 0.004421/0.0402, allocations: 3.898 MB / 361 MB, free: 11.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.04023, allocations: 64.39 kB / 361.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.04093, allocations: 0.8679 MB / 361.9 MB, free: 10.28 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.04097, allocations: 41.7 kB / 362 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.04132, allocations: 0.8475 MB / 362.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.04149, allocations: 341.1 kB / 363.2 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.04165, allocations: 174.6 kB / 363.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.04175, allocations: 353.8 kB / 363.7 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004861/0.04223, allocations: 0.4899 MB / 364.2 MB, free: 8.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.04282, allocations: 0.6694 MB / 364.8 MB, free: 7.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.04388, allocations: 1.205 MB / 366 MB, free: 6.008 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.04388, allocations: 4 kB / 366 MB, free: 6.004 MB / 330.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001549/0.04543, allocations: 1.609 MB / 367.6 MB, free: 4.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.04545, allocations: 8 kB / 367.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.04546, allocations: 8 kB / 367.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.04607, allocations: 462.9 kB / 368.1 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.04643, allocations: 171.8 kB / 368.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.05176, allocations: 8.821 MB / 377.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.05201, allocations: 52.05 kB / 377.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.05206, allocations: 39.92 kB / 377.2 MB, free: 10.36 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.0006467/0.05271, allocations: 0.6428 MB / 377.8 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.05282, allocations: 107.3 kB / 377.9 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.05294, allocations: 134 kB / 378.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.05296, allocations: 20.05 kB / 378.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.05297, allocations: 128 / 378.1 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.05297, allocations: 3.984 kB / 378.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.0562, allocations: 3.325 MB / 381.4 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.05621, allocations: 3.938 kB / 381.4 MB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.05649, allocations: 131.9 kB / 381.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.05703, allocations: 451 kB / 382 MB, free: 5.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.05706, allocations: 19.98 kB / 382 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/0.06226, allocations: 8.727 MB / 390.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.06226, allocations: 0 / 390.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.06437, allocations: 2.289 MB / 393 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.06466, allocations: 215.3 kB / 393.2 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.566e-05/0.06472, allocations: 19.98 kB / 393.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.06495, allocations: 47.95 kB / 393.3 MB, free: 9.664 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.06511, allocations: 92.77 kB / 393.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.06514, allocations: 24 kB / 393.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005262/0.06567, allocations: 0.6083 MB / 394 MB, free: 8.941 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06567, allocations: 0 / 394 MB, free: 8.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009737/0.06664, allocations: 387.9 kB / 394.4 MB, free: 8.562 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.002475/0.06912, allocations: 2.888 MB / 397.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.07076, allocations: 1.777 MB / 399.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.07076, allocations: 0 / 399.1 MB, free: 3.801 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.0717, allocations: 1.211 MB / 400.3 MB, free: 2.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.07246, allocations: 295.2 kB / 400.6 MB, free: 2.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.08403, allocations: 12.1 MB / 412.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.08482, allocations: 1.142 MB / 413.8 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003299/0.08515, allocations: 188.9 kB / 414 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004906/0.08564, allocations: 0.6214 MB / 414.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.08564, allocations: 0 / 414.6 MB, free: 3.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04618/0.1318, allocations: 34.81 MB / 449.4 MB, free: 1.387 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.764/8.896, allocations: 3.938 kB / 449.4 MB, free: 1.383 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier_fmu --startTime=0 --stopTime=0.1 --stepSize=1e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.594879848882556]