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.001355/0.001355, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001428/0.001428, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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 1.015/1.015, allocations: 173.3 MB / 201.1 MB, free: 9.34 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: 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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.067e-05, allocations: 6.25 kB / 268 MB, free: 6.434 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01083/0.01086, allocations: 6.079 MB / 274.1 MB, free: 328 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.01384, allocations: 1.647 MB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006723/0.01452, allocations: 55.62 kB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.015, allocations: 305.5 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.01647, allocations: 460.6 kB / 276.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.0171, allocations: 351.4 kB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001862/0.01896, allocations: 2.202 MB / 279.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.02042, allocations: 1.36 MB / 280.4 MB, free: 9.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.02211, allocations: 1.579 MB / 282 MB, free: 8.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.02358, allocations: 1.173 MB / 283.2 MB, free: 7.121 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006471/0.02423, allocations: 288 kB / 283.5 MB, free: 6.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005898/0.02482, allocations: 411.8 kB / 283.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.02529, allocations: 0.7362 MB / 284.6 MB, free: 5.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009776/0.02626, allocations: 0.8615 MB / 285.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.02806, allocations: 2.044 MB / 287.5 MB, free: 2.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.02807, allocations: 4 kB / 287.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.02807, allocations: 4 kB / 287.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.595e-05/0.02811, allocations: 4 kB / 287.5 MB, free: 2.773 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.002835/0.03094, allocations: 2.614 MB / 290.1 MB, free: 108 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.03099, allocations: 8.922 kB / 290.1 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1292/0.1601, allocations: 403.6 kB / 290.5 MB, free: 29.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.1619, allocations: 1.146 MB / 291.7 MB, free: 29.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.162, allocations: 157 kB / 291.8 MB, free: 29.05 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.1623, allocations: 208.9 kB / 292 MB, free: 29.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002912/0.1652, allocations: 1.583 MB / 293.6 MB, free: 28.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.41e-05/0.1652, allocations: 3.188 kB / 293.6 MB, free: 28.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/0.1653, allocations: 89.66 kB / 293.7 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.66e-05/0.1654, allocations: 53.34 kB / 293.8 MB, free: 28.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.167, allocations: 0.6862 MB / 294.4 MB, free: 28.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007235/0.1742, allocations: 6.08 MB / 300.5 MB, free: 25.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1752, allocations: 0.8297 MB / 301.4 MB, free: 25.07 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.1759, allocations: 499.7 kB / 301.8 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.379e-05/0.176, allocations: 16.12 kB / 301.9 MB, free: 24.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.176, allocations: 46.52 kB / 301.9 MB, free: 24.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.955e-06/0.176, allocations: 1.375 kB / 301.9 MB, free: 24.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003761/0.1798, allocations: 2.321 MB / 304.2 MB, free: 24.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.1798, allocations: 65.94 kB / 304.3 MB, free: 23.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.1804, allocations: 0.7599 MB / 305 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1804, allocations: 41.61 kB / 305.1 MB, free: 23.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002791/0.1807, allocations: 0.9165 MB / 306 MB, free: 22.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.1809, allocations: 356.3 kB / 306.4 MB, free: 22.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.181, allocations: 187.5 kB / 306.5 MB, free: 22.47 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.1811, allocations: 0.5286 MB / 307.1 MB, free: 21.96 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.1814, allocations: 160.5 kB / 307.2 MB, free: 21.92 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.1817, allocations: 415.2 kB / 307.6 MB, free: 21.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005403/0.1822, allocations: 0.6187 MB / 308.2 MB, free: 20.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1822, allocations: 8 kB / 308.3 MB, free: 20.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001004/0.1832, allocations: 0.8745 MB / 309.1 MB, free: 20.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1832, allocations: 8 kB / 309.1 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.1832, allocations: 4 kB / 309.1 MB, free: 20.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004808/0.1837, allocations: 260.1 kB / 309.4 MB, free: 19.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.1841, allocations: 171.8 kB / 309.6 MB, free: 19.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004994/0.1891, allocations: 9.202 MB / 318.8 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003455/0.1894, allocations: 52.02 kB / 318.8 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/0.1895, allocations: 36.12 kB / 318.8 MB, free: 9.859 MB / 266.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.0004025/0.1899, allocations: 207.4 kB / 319.1 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.19, allocations: 139.3 kB / 319.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.1901, allocations: 121.9 kB / 319.3 MB, free: 9.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.1901, allocations: 15.94 kB / 319.3 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.1902, allocations: 0 / 319.3 MB, free: 9.371 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1902, allocations: 11.97 kB / 319.3 MB, free: 9.359 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.1929, allocations: 2.321 MB / 321.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.1929, allocations: 0 / 321.7 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.1933, allocations: 123.8 kB / 321.8 MB, free: 6.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/0.1937, allocations: 256.9 kB / 322 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.1938, allocations: 20 kB / 322 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004196/0.198, allocations: 9.13 MB / 331.2 MB, free: 12.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.198, allocations: 3.938 kB / 331.2 MB, free: 12.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/0.1998, allocations: 1.158 MB / 332.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.2001, allocations: 187.2 kB / 332.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.2002, allocations: 16 kB / 332.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.2006, allocations: 44.08 kB / 332.6 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.2008, allocations: 100.8 kB / 332.7 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.2008, allocations: 23.94 kB / 332.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004669/0.2013, allocations: 482.8 kB / 333.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2013, allocations: 0.9844 kB / 333.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00118/0.2025, allocations: 383.9 kB / 333.5 MB, free: 10.57 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.0002545/0.2027, allocations: 146.8 kB / 333.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001619/0.2044, allocations: 1.404 MB / 335.1 MB, free: 8.945 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2044, allocations: 4 kB / 335.1 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.2058, allocations: 1.147 MB / 336.2 MB, free: 7.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008036/0.2066, allocations: 288 kB / 336.5 MB, free: 7.441 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.2112, allocations: 3.144 MB / 339.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/0.2118, allocations: 0.5297 MB / 340.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.2122, allocations: 156.5 kB / 340.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.2123, allocations: 68.48 kB / 340.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of SimCode: time 2.495e-06/0.2123, allocations: 0 / 340.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Templates: time 0.02522/0.2375, allocations: 20.04 MB / 360.5 MB, free: 15.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] 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","",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.6204075389541686]