Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001231/0.001231, allocations: 114.5 kB / 18.45 MB, free: 4.566 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.001316/0.001316, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 207.6 MB / 231.8 MB, free: 4.027 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 51.94 kB / 342.3 MB, free: 10.09 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09453, allocations: 49.12 MB / 391.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008289/0.1028, allocations: 6.218 MB / 397.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.1069, allocations: 1.699 MB / 399.3 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000721/0.1076, allocations: 47.69 kB / 399.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006668/0.1083, allocations: 313.5 kB / 399.7 MB, free: 500 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.1096, allocations: 429.2 kB / 400.1 MB, free: 68 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007085/0.1104, allocations: 343.6 kB / 400.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002312/0.1127, allocations: 2.164 MB / 402.6 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.1148, allocations: 1.746 MB / 404.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1162, allocations: 1.044 MB / 405.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/0.1181, allocations: 1.234 MB / 406.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000409/0.1185, allocations: 292 kB / 406.9 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007472/0.1192, allocations: 447.7 kB / 407.3 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006486/0.1199, allocations: 0.7012 MB / 408 MB, free: 8.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.1213, allocations: 1.233 MB / 409.3 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004258/0.1256, allocations: 3.632 MB / 412.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1256, allocations: 0 / 412.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1256, allocations: 4 kB / 412.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.811e-05/0.1256, allocations: 0 / 412.9 MB, free: 3.152 MB / 334.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.004891/0.1305, allocations: 2.512 MB / 415.4 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1306, allocations: 12.03 kB / 415.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003912/0.131, allocations: 303.6 kB / 415.7 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004402/0.1314, allocations: 243.4 kB / 416 MB, free: 16 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.1333, allocations: 1.194 MB / 417.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.1335, allocations: 152.5 kB / 417.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.1338, allocations: 207.9 kB / 417.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/0.1383, allocations: 2.61 MB / 420.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.1383, allocations: 0 / 420.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.1385, allocations: 84 kB / 420.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/0.1386, allocations: 52 kB / 420.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003688/0.1423, allocations: 2.081 MB / 422.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01187/0.1542, allocations: 7.332 MB / 429.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.1568, allocations: 2.281 MB / 432 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.1583, allocations: 0.8925 MB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.302e-05/0.1583, allocations: 12.98 kB / 432.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.1584, allocations: 47.56 kB / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.036e-06/0.1584, allocations: 0 / 432.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008504/0.1669, allocations: 4.192 MB / 437.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.1669, allocations: 64.34 kB / 437.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.1682, allocations: 0.8602 MB / 438 MB, free: 9.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.72e-05/0.1682, allocations: 45.64 kB / 438.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006227/0.1689, allocations: 0.8514 MB / 438.9 MB, free: 8.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000304/0.1692, allocations: 341.1 kB / 439.3 MB, free: 8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.1695, allocations: 178.6 kB / 439.4 MB, free: 7.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.1696, allocations: 345.9 kB / 439.8 MB, free: 7.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000811/0.1704, allocations: 497.7 kB / 440.2 MB, free: 6.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/0.1714, allocations: 0.6733 MB / 440.9 MB, free: 6.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.1732, allocations: 1.205 MB / 442.1 MB, free: 4.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1732, allocations: 3.938 kB / 442.1 MB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002863/0.176, allocations: 1.617 MB / 443.7 MB, free: 3.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.1761, allocations: 4 kB / 443.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.1761, allocations: 8 kB / 443.8 MB, free: 3.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.1772, allocations: 470.9 kB / 444.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006998/0.1779, allocations: 167.8 kB / 444.4 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009891/0.1878, allocations: 9.297 MB / 453.7 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007042/0.1885, allocations: 47.95 kB / 453.7 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/0.1886, allocations: 36 kB / 453.8 MB, free: 8.754 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.001063/0.1897, allocations: 0.6534 MB / 454.4 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002227/0.1899, allocations: 103.3 kB / 454.5 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1902, allocations: 134 kB / 454.6 MB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/0.1902, allocations: 12 kB / 454.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.29e-05/0.1902, allocations: 4 kB / 454.7 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.1903, allocations: 7.969 kB / 454.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/0.1962, allocations: 3.47 MB / 458.1 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1962, allocations: 0 / 458.1 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.1968, allocations: 131.8 kB / 458.3 MB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.1979, allocations: 455.3 kB / 458.7 MB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.435e-05/0.1979, allocations: 19.98 kB / 458.7 MB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1981/0.3961, allocations: 9.205 MB / 467.9 MB, free: 58.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3961, allocations: 4.875 kB / 467.9 MB, free: 58.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.3995, allocations: 2.298 MB / 470.2 MB, free: 58.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.4, allocations: 288 kB / 470.5 MB, free: 57.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.4001, allocations: 21.97 kB / 470.5 MB, free: 57.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.4006, allocations: 45.42 kB / 470.6 MB, free: 57.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/0.4008, allocations: 85.19 kB / 470.7 MB, free: 57.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.813e-05/0.4009, allocations: 27.36 kB / 470.7 MB, free: 57.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007729/0.4017, allocations: 0.6071 MB / 471.3 MB, free: 57.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4017, allocations: 0 / 471.3 MB, free: 57.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001476/0.4031, allocations: 380.6 kB / 471.7 MB, free: 57.61 MB / 382.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.003542/0.4067, allocations: 2.882 MB / 474.6 MB, free: 56.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002563/0.4092, allocations: 1.778 MB / 476.3 MB, free: 55.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4092, allocations: 0 / 476.3 MB, free: 55.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.4108, allocations: 1.212 MB / 477.6 MB, free: 54.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4123, allocations: 308.6 kB / 477.9 MB, free: 54.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/0.427, allocations: 12.13 MB / 490 MB, free: 48.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/0.428, allocations: 1.719 MB / 491.7 MB, free: 46.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004936/0.4285, allocations: 192.9 kB / 491.9 MB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005603/0.429, allocations: 0.6165 MB / 492.5 MB, free: 45.46 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.429, allocations: 3.062 kB / 492.5 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07345/0.5025, allocations: 33.81 MB / 0.514 GB, free: 11.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/14.39, allocations: 1.484 kB / 0.514 GB, free: 11.55 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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: 17.370377162005752]