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.001292/0.001292, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001589/0.001589, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 1.036/1.036, allocations: 177 MB / 204.8 MB, free: 5.578 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: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.454e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005641/0.005676, allocations: 6.122 MB / 279 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.008998, allocations: 1.706 MB / 280.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006209/0.009619, allocations: 55.62 kB / 280.8 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.01012, allocations: 301.5 kB / 281.1 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.01128, allocations: 468.6 kB / 281.5 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.01188, allocations: 359.4 kB / 281.9 MB, free: 8.414 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001503/0.01338, allocations: 2.226 MB / 284.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001159/0.01454, allocations: 1.368 MB / 285.5 MB, free: 4.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.01595, allocations: 1.603 MB / 287.1 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.01724, allocations: 1.169 MB / 288.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002475/0.01749, allocations: 292 kB / 288.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004994/0.01799, allocations: 407.7 kB / 288.9 MB, free: 1.289 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.01839, allocations: 0.744 MB / 289.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1399/0.1583, allocations: 0.8619 MB / 290.5 MB, free: 18.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003336/0.1616, allocations: 2.057 MB / 292.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1616, allocations: 3.281 kB / 292.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1616, allocations: 0 / 292.6 MB, free: 17.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.1618, allocations: 1.25 kB / 292.6 MB, free: 17.92 MB / 266.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.005017/0.1668, allocations: 2.63 MB / 295.2 MB, free: 16.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1668, allocations: 13.27 kB / 295.2 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.1677, allocations: 433.5 kB / 295.7 MB, free: 16.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001846/0.1696, allocations: 1.171 MB / 296.8 MB, free: 16.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1697, allocations: 153.4 kB / 297 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.1699, allocations: 204.7 kB / 297.2 MB, free: 16.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.173, allocations: 1.59 MB / 298.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.173, allocations: 0.9375 kB / 298.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.1731, allocations: 85.38 kB / 298.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.1733, allocations: 81.11 kB / 298.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.175, allocations: 0.6879 MB / 299.6 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007583/0.1826, allocations: 6.102 MB / 305.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.1835, allocations: 0.8343 MB / 306.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.1842, allocations: 498 kB / 307.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.1843, allocations: 19.56 kB / 307.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.1843, allocations: 45.67 kB / 307.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.1843, allocations: 0 / 307.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003871/0.1882, allocations: 2.325 MB / 309.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.1882, allocations: 66.56 kB / 309.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.1889, allocations: 0.765 MB / 310.3 MB, free: 10.39 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.1889, allocations: 40.8 kB / 310.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.1893, allocations: 0.9293 MB / 311.2 MB, free: 9.527 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.1894, allocations: 346.5 kB / 311.6 MB, free: 9.238 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.1896, allocations: 189.3 kB / 311.8 MB, free: 9.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1897, allocations: 0.5317 MB / 312.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002649/0.19, allocations: 150.9 kB / 312.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.1903, allocations: 418.8 kB / 312.9 MB, free: 8.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.1909, allocations: 0.6142 MB / 313.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.191, allocations: 3.312 kB / 313.5 MB, free: 7.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001095/0.192, allocations: 0.8841 MB / 314.4 MB, free: 6.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1921, allocations: 4.625 kB / 314.4 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.1921, allocations: 8 kB / 314.4 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005513/0.1926, allocations: 259.2 kB / 314.6 MB, free: 6.441 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.193, allocations: 170.1 kB / 314.8 MB, free: 6.285 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004676/0.1977, allocations: 9.196 MB / 324 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006054/0.1983, allocations: 41.98 kB / 324 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/0.1984, allocations: 36 kB / 324.1 MB, free: 12.62 MB / 282.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.0006873/0.1991, allocations: 214.9 kB / 324.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.1993, allocations: 139.3 kB / 324.4 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.1994, allocations: 125.8 kB / 324.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.1994, allocations: 19.92 kB / 324.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/0.1994, allocations: 0 / 324.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.1995, allocations: 3.984 kB / 324.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003593/0.203, allocations: 2.317 MB / 326.9 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2031, allocations: 8.047 kB / 326.9 MB, free: 9.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.2034, allocations: 122.9 kB / 327 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.2039, allocations: 260.2 kB / 327.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/0.2039, allocations: 16 kB / 327.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005409/0.2093, allocations: 9.136 MB / 336.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2093, allocations: 0 / 336.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.2111, allocations: 1.161 MB / 337.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.2114, allocations: 191.2 kB / 337.7 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.2115, allocations: 22.89 kB / 337.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.2117, allocations: 35.95 kB / 337.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.2119, allocations: 104.8 kB / 337.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.212, allocations: 24 kB / 337.9 MB, free: 14.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005474/0.2125, allocations: 474.9 kB / 338.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2125, allocations: 0 / 338.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001489/0.214, allocations: 380 kB / 338.8 MB, free: 13.43 MB / 298.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.0003059/0.2143, allocations: 150.7 kB / 338.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.2162, allocations: 1.404 MB / 340.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2162, allocations: 0 / 340.3 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008722/0.217, allocations: 1.157 MB / 341.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.2179, allocations: 289.3 kB / 341.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.2223, allocations: 3.156 MB / 344.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.2227, allocations: 0.5298 MB / 345.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003252/0.2231, allocations: 156.7 kB / 345.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.2232, allocations: 68.5 kB / 345.7 MB, free: 6.355 MB / 298.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2232, allocations: 4 kB / 345.7 MB, free: 6.352 MB / 298.7 MB Notification: Performance of Templates: time 0.0257/0.2489, allocations: 19.99 MB / 365.7 MB, free: 2.711 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.733855178114027]