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.001266/0.001266, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009016/0.0009016, allocations: 161 kB / 24.91 MB, free: 9.184 MB / 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.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.461 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 1.563e-06/1.563e-06, allocations: 0 / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/2.911e-05, allocations: 6.25 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007701/0.00773, allocations: 6.019 MB / 279.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005026/0.01276, allocations: 1.775 MB / 281.2 MB, free: 9.355 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.0138, allocations: 51.69 kB / 281.3 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007259/0.01453, allocations: 309.5 kB / 281.6 MB, free: 9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.01608, allocations: 460.6 kB / 282 MB, free: 8.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008709/0.01695, allocations: 359.4 kB / 282.4 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.01942, allocations: 2.237 MB / 284.6 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.02076, allocations: 1.395 MB / 286 MB, free: 4.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001463/0.02222, allocations: 1.606 MB / 287.6 MB, free: 2.863 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.0233, allocations: 1.173 MB / 288.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002254/0.02353, allocations: 292 kB / 289.1 MB, free: 1.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.02399, allocations: 411.6 kB / 289.5 MB, free: 1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003952/0.02439, allocations: 0.7401 MB / 290.2 MB, free: 264 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1195/0.1439, allocations: 0.8654 MB / 291.1 MB, free: 18.33 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.1469, allocations: 2.045 MB / 293.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1469, allocations: 0.5938 kB / 293.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1469, allocations: 1.188 kB / 293.1 MB, free: 18.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001246/0.147, allocations: 4.188 kB / 293.1 MB, free: 18.16 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.004341/0.1514, allocations: 2.32 MB / 295.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1514, allocations: 14.05 kB / 295.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.1521, allocations: 346.2 kB / 295.8 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1533, allocations: 0.7845 MB / 296.6 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/0.1534, allocations: 157.9 kB / 296.7 MB, free: 16.87 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1536, allocations: 212.9 kB / 296.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.1557, allocations: 1.485 MB / 298.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/0.1558, allocations: 8.438 kB / 298.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.1559, allocations: 86.28 kB / 298.5 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.156, allocations: 80.69 kB / 298.6 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.157, allocations: 0.5422 MB / 299.1 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.1624, allocations: 4.421 MB / 303.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006883/0.1631, allocations: 0.731 MB / 304.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.1636, allocations: 416.1 kB / 304.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.1636, allocations: 15.97 kB / 304.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1636, allocations: 43.09 kB / 304.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.354e-06/0.1636, allocations: 0 / 304.8 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002537/0.1662, allocations: 1.607 MB / 306.4 MB, free: 13.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.839e-05/0.1662, allocations: 60.19 kB / 306.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/0.1666, allocations: 0.6111 MB / 307 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.1666, allocations: 37.7 kB / 307.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1668, allocations: 0.7615 MB / 307.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.167, allocations: 338.2 kB / 308.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1671, allocations: 169.2 kB / 308.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.1671, allocations: 350 kB / 308.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1673, allocations: 117.4 kB / 308.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.1675, allocations: 285.2 kB / 309.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003968/0.1679, allocations: 0.4887 MB / 309.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1679, allocations: 3.344 kB / 309.6 MB, free: 11.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.000732/0.1686, allocations: 0.6362 MB / 310.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1686, allocations: 7.281 kB / 310.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1686, allocations: 6.812 kB / 310.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.1691, allocations: 207.2 kB / 310.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.1695, allocations: 185.7 kB / 310.6 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.1725, allocations: 6.493 MB / 317.1 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.173, allocations: 28 kB / 317.1 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.173, allocations: 28 kB / 317.1 MB, free: 4.781 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.0005537/0.1736, allocations: 179.4 kB / 317.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.1737, allocations: 95.94 kB / 317.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.1738, allocations: 124.2 kB / 317.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.1738, allocations: 15.98 kB / 317.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.1738, allocations: 0 / 317.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1738, allocations: 7.984 kB / 317.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.1758, allocations: 1.568 MB / 319.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1758, allocations: 0 / 319.1 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.1762, allocations: 135.2 kB / 319.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003729/0.1765, allocations: 224.7 kB / 319.5 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.1766, allocations: 19.94 kB / 319.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00334/0.1799, allocations: 6.484 MB / 326 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1799, allocations: 3.938 kB / 326 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.1811, allocations: 0.8717 MB / 326.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.1813, allocations: 126 kB / 327 MB, free: 10.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.1814, allocations: 24.03 kB / 327 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1816, allocations: 23.98 kB / 327 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.1818, allocations: 72.86 kB / 327.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.1818, allocations: 16 kB / 327.1 MB, free: 10.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002901/0.1821, allocations: 301.4 kB / 327.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1821, allocations: 0 / 327.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001187/0.1833, allocations: 391.9 kB / 327.8 MB, free: 10.04 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.0002025/0.1835, allocations: 124.8 kB / 327.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.1846, allocations: 1.064 MB / 329 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.715e-05/0.1846, allocations: 8 kB / 329 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.1854, allocations: 0.8678 MB / 329.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.1861, allocations: 291.5 kB / 330.1 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.1906, allocations: 3.069 MB / 333.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.191, allocations: 454.6 kB / 333.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002936/0.1913, allocations: 112.7 kB / 333.7 MB, free: 3.984 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/0.1917, allocations: 288.1 kB / 334 MB, free: 3.707 MB / 282.7 MB Notification: Performance of SimCode: time 1.983e-06/0.1917, allocations: 0 / 334 MB, free: 3.707 MB / 282.7 MB Notification: Performance of Templates: time 0.02852/0.2202, allocations: 21.33 MB / 355.4 MB, free: 14.79 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 -s gbode -gbm=radauIIA3 -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.405462618917227]