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.0007903/0.0007903, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0008326/0.0008326, allocations: 142.1 kB / 24.97 MB, free: 8.316 MB / 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 0.9195/0.9195, allocations: 173.3 MB / 201.5 MB, free: 9.32 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.583e-06/1.583e-06, allocations: 0 / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.308e-05/2.467e-05, allocations: 2.312 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007572/0.007597, allocations: 6.052 MB / 274.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003534/0.01113, allocations: 1.632 MB / 275.8 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004773/0.01161, allocations: 59.62 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.01211, allocations: 309.5 kB / 276.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001243/0.01335, allocations: 456.6 kB / 276.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.01391, allocations: 343.5 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00167/0.01558, allocations: 2.21 MB / 279.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.01694, allocations: 1.36 MB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001612/0.01855, allocations: 1.583 MB / 282 MB, free: 8.613 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.01998, allocations: 1.173 MB / 283.2 MB, free: 7.438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003693/0.02035, allocations: 292 kB / 283.5 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.02091, allocations: 403.8 kB / 283.9 MB, free: 6.758 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004387/0.02135, allocations: 0.7323 MB / 284.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.02201, allocations: 0.8654 MB / 285.5 MB, free: 5.156 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001455/0.02346, allocations: 2.052 MB / 287.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.02347, allocations: 0 / 287.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.02347, allocations: 0 / 287.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.02349, allocations: 0 / 287.5 MB, free: 3.098 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.002523/0.02602, allocations: 2.614 MB / 290.2 MB, free: 440 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.02605, allocations: 16.92 kB / 290.2 MB, free: 424 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.02646, allocations: 407.4 kB / 290.6 MB, free: 16 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1185/0.145, allocations: 1.15 MB / 291.7 MB, free: 32.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.1451, allocations: 153.8 kB / 291.9 MB, free: 32.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.1453, allocations: 205.6 kB / 292.1 MB, free: 32.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/0.1477, allocations: 1.58 MB / 293.7 MB, free: 31.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.1477, allocations: 1.094 kB / 293.7 MB, free: 31.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.1479, allocations: 90.16 kB / 293.7 MB, free: 31.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.69e-05/0.1479, allocations: 52.56 kB / 293.8 MB, free: 31.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.1494, allocations: 0.6848 MB / 294.5 MB, free: 31.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006811/0.1562, allocations: 6.09 MB / 300.6 MB, free: 28.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.1574, allocations: 0.827 MB / 301.4 MB, free: 27.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007569/0.1582, allocations: 0.4924 MB / 301.9 MB, free: 27.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.1582, allocations: 19.84 kB / 301.9 MB, free: 27.65 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1582, allocations: 51.03 kB / 302 MB, free: 27.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 4.048e-06/0.1582, allocations: 0 / 302 MB, free: 27.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.004077/0.1623, allocations: 2.315 MB / 304.3 MB, free: 26.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.655e-05/0.1623, allocations: 63.91 kB / 304.3 MB, free: 26.49 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.163, allocations: 0.7617 MB / 305.1 MB, free: 26.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.163, allocations: 45.83 kB / 305.1 MB, free: 25.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.1633, allocations: 0.9238 MB / 306.1 MB, free: 25.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.1635, allocations: 340.4 kB / 306.4 MB, free: 24.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1636, allocations: 192.7 kB / 306.6 MB, free: 24.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.1637, allocations: 0.5238 MB / 307.1 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.164, allocations: 153.9 kB / 307.3 MB, free: 24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003134/0.1643, allocations: 415.6 kB / 307.7 MB, free: 23.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.1648, allocations: 0.6179 MB / 308.3 MB, free: 22.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1648, allocations: 0 / 308.3 MB, free: 22.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001077/0.1659, allocations: 0.8783 MB / 309.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.1659, allocations: 8 kB / 309.2 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1659, allocations: 8 kB / 309.2 MB, free: 21.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.1665, allocations: 257.4 kB / 309.4 MB, free: 21.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.1669, allocations: 175.7 kB / 309.6 MB, free: 21.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.1708, allocations: 9.208 MB / 318.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.1713, allocations: 39.97 kB / 318.9 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.1713, allocations: 39.98 kB / 318.9 MB, free: 11.69 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.0004817/0.1718, allocations: 218 kB / 319.1 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.172, allocations: 141.8 kB / 319.2 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.1721, allocations: 121.8 kB / 319.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/0.1721, allocations: 15.94 kB / 319.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.1721, allocations: 128 / 319.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.1721, allocations: 7.984 kB / 319.4 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.175, allocations: 2.318 MB / 321.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.175, allocations: 0 / 321.7 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.1753, allocations: 127.8 kB / 321.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/0.1758, allocations: 254.5 kB / 322.1 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.1758, allocations: 23.98 kB / 322.1 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/0.1798, allocations: 9.126 MB / 331.2 MB, free: 14.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1798, allocations: 8.062 kB / 331.2 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.1814, allocations: 1.151 MB / 332.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003611/0.1818, allocations: 187.2 kB / 332.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.805e-05/0.1819, allocations: 20 kB / 332.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.1821, allocations: 47.89 kB / 332.6 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.1823, allocations: 96.75 kB / 332.7 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.1824, allocations: 28 kB / 332.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004825/0.1828, allocations: 470.9 kB / 333.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1828, allocations: 0 / 333.2 MB, free: 12.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00132/0.1842, allocations: 386 kB / 333.6 MB, free: 12.39 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.0003033/0.1845, allocations: 139.2 kB / 333.7 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.1862, allocations: 1.41 MB / 335.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1862, allocations: 0 / 335.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009975/0.1872, allocations: 1.148 MB / 336.3 MB, free: 9.531 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/0.1881, allocations: 299.4 kB / 336.6 MB, free: 9.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005087/0.1932, allocations: 3.144 MB / 339.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004884/0.1937, allocations: 0.5297 MB / 340.3 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0007329/0.1944, allocations: 148.6 kB / 340.4 MB, free: 5.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.1946, allocations: 64.5 kB / 340.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of SimCode: time 2.224e-06/0.1946, allocations: 0 / 340.5 MB, free: 5.281 MB / 282.7 MB Notification: Performance of Templates: time 0.02826/0.2228, allocations: 20.06 MB / 360.5 MB, free: 1.527 MB / 298.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.45209511811845]