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.000722/0.000722, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00107/0.001792, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007021/0.0007021, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009069/0.001609, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9815/0.9815, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08458/1.066, allocations: 53.65 MB / 243.3 MB, free: 15.56 MB / 250.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.543e-06/1.543e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.825e-05, allocations: 8.922 kB / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004982/0.005001, allocations: 6.035 MB / 250.6 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.007691, allocations: 1.786 MB / 252.3 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005771/0.008269, allocations: 55.69 kB / 252.4 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.008702, allocations: 313.5 kB / 252.7 MB, free: 6.066 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009053/0.009607, allocations: 444.6 kB / 253.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.01016, allocations: 359.4 kB / 253.5 MB, free: 5.277 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001499/0.01166, allocations: 2.214 MB / 255.7 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.0129, allocations: 1.399 MB / 257.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001543/0.01444, allocations: 1.679 MB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.01553, allocations: 1.165 MB / 260 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002736/0.01581, allocations: 291.9 kB / 260.2 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004932/0.0163, allocations: 407.7 kB / 260.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.01674, allocations: 0.5806 MB / 261.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006021/0.01735, allocations: 0.7213 MB / 261.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.01875, allocations: 1.904 MB / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.01877, allocations: 0 / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.01877, allocations: 0 / 263.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.059e-05/0.01882, allocations: 4 kB / 263.8 MB, free: 10.82 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.004025/0.02285, allocations: 2.779 MB / 266.6 MB, free: 8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.02288, allocations: 8.031 kB / 266.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.02342, allocations: 429.7 kB / 267.1 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009344/0.02435, allocations: 0.7696 MB / 267.8 MB, free: 6.758 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.02443, allocations: 160.5 kB / 268 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.0246, allocations: 200.4 kB / 268.2 MB, free: 6.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.02617, allocations: 1.494 MB / 269.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.271e-05/0.02621, allocations: 3.938 kB / 269.7 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.02631, allocations: 88 kB / 269.8 MB, free: 4.719 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.02637, allocations: 52 kB / 269.8 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000943/0.02731, allocations: 0.5451 MB / 270.4 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1277/0.155, allocations: 4.43 MB / 274.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007636/0.1557, allocations: 0.73 MB / 275.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.1563, allocations: 409.1 kB / 275.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.1563, allocations: 16.22 kB / 275.9 MB, free: 15.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1563, allocations: 43.03 kB / 276 MB, free: 15.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.978e-06/0.1563, allocations: 0 / 276 MB, free: 15.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003557/0.1599, allocations: 1.603 MB / 277.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.1599, allocations: 65.94 kB / 277.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.1605, allocations: 0.6038 MB / 278.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.1606, allocations: 42.36 kB / 278.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.1609, allocations: 0.757 MB / 279 MB, free: 14.29 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.1611, allocations: 338 kB / 279.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.1613, allocations: 170.1 kB / 279.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.1614, allocations: 345.2 kB / 279.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.1616, allocations: 115.6 kB / 280 MB, free: 13.74 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.1619, allocations: 288.9 kB / 280.3 MB, free: 13.56 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005794/0.1625, allocations: 0.4945 MB / 280.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1625, allocations: 1.406 kB / 280.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001014/0.1635, allocations: 0.6343 MB / 281.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1635, allocations: 7.859 kB / 281.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1635, allocations: 5.625 kB / 281.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.1641, allocations: 215.4 kB / 281.6 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.1647, allocations: 192.9 kB / 281.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003619/0.1683, allocations: 6.503 MB / 288.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.1686, allocations: 32.73 kB / 288.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/0.1687, allocations: 27.19 kB / 288.4 MB, free: 7.867 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.0003603/0.169, allocations: 172.4 kB / 288.5 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.1692, allocations: 90.88 kB / 288.6 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.1693, allocations: 126.5 kB / 288.8 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.238e-05/0.1694, allocations: 11.78 kB / 288.8 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1694, allocations: 1.781 kB / 288.8 MB, free: 7.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1694, allocations: 12.28 kB / 288.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.1722, allocations: 1.566 MB / 290.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/0.1722, allocations: 1.656 kB / 290.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.1727, allocations: 145.3 kB / 290.5 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002619/0.1729, allocations: 122.4 kB / 290.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004941/0.1734, allocations: 216.5 kB / 290.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.1735, allocations: 18.36 kB / 290.8 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003375/0.1769, allocations: 6.491 MB / 297.3 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1769, allocations: 7.281 kB / 297.3 MB, free: 1.816 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1779, allocations: 0.8773 MB / 298.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.337e-05/0.178, allocations: 18.97 kB / 298.2 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.1782, allocations: 26.7 kB / 298.3 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.1784, allocations: 84.06 kB / 298.3 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.1784, allocations: 18.69 kB / 298.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000283/0.1787, allocations: 297.1 kB / 298.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1787, allocations: 0 / 298.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001255/0.18, allocations: 387.1 kB / 299 MB, free: 1.492 MB / 266.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.0002165/0.1802, allocations: 126.1 kB / 299.1 MB, free: 1.426 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1813, allocations: 1.06 MB / 300.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.538e-05/0.1814, allocations: 23.72 kB / 300.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.1821, allocations: 0.8664 MB / 301.1 MB, free: 416 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008811/0.1829, allocations: 371.3 kB / 301.5 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00931/0.1922, allocations: 3.442 MB / 304.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.1927, allocations: 478.3 kB / 305.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004036/0.1931, allocations: 112.7 kB / 305.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.1937, allocations: 299.2 kB / 305.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1937, allocations: 3.75 kB / 305.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of Templates: time 0.03137/0.2251, allocations: 22.25 MB / 328 MB, free: 8.426 MB / 298.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 -ignoreHideResult -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.253443408757448]