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.001011/0.001011, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001098/0.001098, allocations: 168.8 kB / 24.82 MB, free: 9.27 MB / 18.57 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 0.9596/0.9596, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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: 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_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.4 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.714e-05/1.88e-05, allocations: 6.312 kB / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007088/0.007106, allocations: 5.953 MB / 279.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.0103, allocations: 1.686 MB / 281 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004783/0.01077, allocations: 59.69 kB / 281.1 MB, free: 9.574 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000562/0.01134, allocations: 313.5 kB / 281.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.01245, allocations: 460.5 kB / 281.8 MB, free: 8.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006296/0.01308, allocations: 355.5 kB / 282.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.01504, allocations: 2.206 MB / 284.4 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.0168, allocations: 1.36 MB / 285.8 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002022/0.01882, allocations: 1.595 MB / 287.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.02029, allocations: 1.173 MB / 288.5 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000406/0.0207, allocations: 288 kB / 288.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006205/0.02132, allocations: 403.7 kB / 289.2 MB, free: 1.379 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.02188, allocations: 0.7401 MB / 289.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1491/0.171, allocations: 0.8558 MB / 290.8 MB, free: 18.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002764/0.1737, allocations: 2.044 MB / 292.8 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1737, allocations: 3.172 kB / 292.8 MB, free: 18 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1737, allocations: 1.719 kB / 292.8 MB, free: 18 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.519e-05/0.1738, allocations: 0 / 292.8 MB, free: 18 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.003856/0.1777, allocations: 2.557 MB / 295.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1777, allocations: 11.17 kB / 295.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007715/0.1785, allocations: 434.2 kB / 295.8 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.1798, allocations: 1.084 MB / 296.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.1798, allocations: 156 kB / 297.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.1801, allocations: 201.5 kB / 297.3 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001952/0.182, allocations: 1.456 MB / 298.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.182, allocations: 1.344 kB / 298.7 MB, free: 16.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1822, allocations: 87.09 kB / 298.8 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.1822, allocations: 56.2 kB / 298.9 MB, free: 16.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/0.1831, allocations: 0.5207 MB / 299.4 MB, free: 16.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.1881, allocations: 5.649 MB / 305 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.1888, allocations: 0.7513 MB / 305.8 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.1892, allocations: 448.7 kB / 306.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.1892, allocations: 17.06 kB / 306.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.1892, allocations: 55.28 kB / 306.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.335e-06/0.1893, allocations: 0 / 306.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002189/0.1914, allocations: 1.779 MB / 308.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.665e-05/0.1915, allocations: 61.47 kB / 308.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.1918, allocations: 0.7465 MB / 308.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1919, allocations: 37.7 kB / 308.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.1921, allocations: 0.9379 MB / 309.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1922, allocations: 343.1 kB / 310.2 MB, free: 10.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.1924, allocations: 203.9 kB / 310.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.1924, allocations: 0.5251 MB / 310.9 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1926, allocations: 113.8 kB / 311 MB, free: 9.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.1928, allocations: 385.1 kB / 311.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003956/0.1932, allocations: 0.5482 MB / 311.9 MB, free: 9.352 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1932, allocations: 3.75 kB / 312 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0007456/0.1939, allocations: 0.7939 MB / 312.7 MB, free: 9.031 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1939, allocations: 6.719 kB / 312.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1939, allocations: 3.094 kB / 312.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.1943, allocations: 242.5 kB / 313 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.1946, allocations: 163.4 kB / 313.2 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/0.1975, allocations: 8.981 MB / 322.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.1978, allocations: 28 kB / 322.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.1978, allocations: 31.98 kB / 322.2 MB, free: 15.46 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.0002738/0.1981, allocations: 216.4 kB / 322.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.1982, allocations: 135.3 kB / 322.5 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1983, allocations: 125.8 kB / 322.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.1984, allocations: 12 kB / 322.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.1984, allocations: 4 kB / 322.7 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1984, allocations: 3.984 kB / 322.7 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.2004, allocations: 1.867 MB / 324.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2004, allocations: 4 kB / 324.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.2007, allocations: 115.5 kB / 324.7 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.2011, allocations: 230.3 kB / 324.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.2011, allocations: 19.98 kB / 324.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/0.205, allocations: 8.922 MB / 333.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.205, allocations: 0 / 333.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.206, allocations: 1.018 MB / 334.8 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.2062, allocations: 175.2 kB / 335 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.2063, allocations: 19.98 kB / 335 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001781/0.2065, allocations: 23.28 kB / 335.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2066, allocations: 76.84 kB / 335.1 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.2066, allocations: 23.94 kB / 335.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.2069, allocations: 451.8 kB / 335.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2069, allocations: 0 / 335.6 MB, free: 1.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009866/0.2079, allocations: 379.9 kB / 336 MB, free: 1.5 MB / 282.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.0002421/0.2081, allocations: 143.7 kB / 336.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.2094, allocations: 1.332 MB / 337.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2094, allocations: 0 / 337.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007876/0.2102, allocations: 1.128 MB / 338.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.211, allocations: 301.2 kB / 338.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.2151, allocations: 3.128 MB / 342 MB, free: 11.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/0.2154, allocations: 0.5298 MB / 342.5 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.2157, allocations: 108.8 kB / 342.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/0.2161, allocations: 338 kB / 343 MB, free: 10.39 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2161, allocations: 4 kB / 343 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Templates: time 0.0247/0.2408, allocations: 21.31 MB / 364.3 MB, free: 5.504 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.3908741250634193]