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.0009986/0.0009986, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00136/0.002359, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009171/0.0009171, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002168, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.003/1.003, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0868/1.089, allocations: 52.5 MB / 238.3 MB, free: 4.426 MB / 234.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.313e-06/1.313e-06, allocations: 3.938 kB / 239.5 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/1.097e-05, allocations: 2.312 kB / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006842/0.006853, allocations: 6.018 MB / 245.6 MB, free: 13.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.009774, allocations: 1.732 MB / 247.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004161/0.01019, allocations: 51.69 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.0107, allocations: 309.5 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009256/0.01162, allocations: 456.6 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005601/0.01218, allocations: 347.5 kB / 248.4 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.01402, allocations: 2.222 MB / 250.7 MB, free: 8.012 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.01558, allocations: 1.391 MB / 252 MB, free: 6.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.01731, allocations: 1.683 MB / 253.7 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.01899, allocations: 1.169 MB / 254.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.01933, allocations: 288 kB / 255.2 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006209/0.01995, allocations: 399.8 kB / 255.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000485/0.02044, allocations: 0.5961 MB / 256.2 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007549/0.02119, allocations: 0.7097 MB / 256.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00182/0.02301, allocations: 1.904 MB / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.02303, allocations: 0 / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.02303, allocations: 0 / 258.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.112e-05/0.02307, allocations: 0 / 258.8 MB, free: 15.78 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.003662/0.02673, allocations: 2.767 MB / 261.5 MB, free: 12.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.02676, allocations: 8.031 kB / 261.6 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.02724, allocations: 401.8 kB / 261.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.02841, allocations: 0.7578 MB / 262.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.02852, allocations: 160.5 kB / 262.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.02877, allocations: 204.3 kB / 263.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.03092, allocations: 1.486 MB / 264.5 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.03096, allocations: 3.938 kB / 264.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.03112, allocations: 88 kB / 264.6 MB, free: 9.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.92e-05/0.03119, allocations: 52 kB / 264.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.03224, allocations: 0.549 MB / 265.2 MB, free: 9.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006253/0.0385, allocations: 4.439 MB / 269.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000789/0.03929, allocations: 0.729 MB / 270.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005697/0.03986, allocations: 423.5 kB / 270.8 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.0399, allocations: 17 kB / 270.8 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.03993, allocations: 47.55 kB / 270.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.514e-06/0.03993, allocations: 0 / 270.9 MB, free: 3.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003264/0.04319, allocations: 1.596 MB / 272.5 MB, free: 1.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.04322, allocations: 60.41 kB / 272.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005347/0.04376, allocations: 0.6013 MB / 273.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.04381, allocations: 41.7 kB / 273.2 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.04414, allocations: 0.7478 MB / 273.9 MB, free: 160 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1149/0.159, allocations: 340.7 kB / 274.3 MB, free: 26.05 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.1592, allocations: 167.8 kB / 274.4 MB, free: 26.03 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.1593, allocations: 351 kB / 274.8 MB, free: 25.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000191/0.1594, allocations: 112.9 kB / 274.9 MB, free: 25.72 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.1597, allocations: 288 kB / 275.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.1602, allocations: 0.4941 MB / 275.7 MB, free: 25.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1602, allocations: 2.469 kB / 275.7 MB, free: 25.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001009/0.1612, allocations: 0.6338 MB / 276.3 MB, free: 25.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.1612, allocations: 7.5 kB / 276.3 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1612, allocations: 9.672 kB / 276.3 MB, free: 25.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004909/0.1617, allocations: 205.7 kB / 276.5 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.1622, allocations: 192.5 kB / 276.7 MB, free: 25.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.1653, allocations: 6.501 MB / 283.2 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.1656, allocations: 30.56 kB / 283.2 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.1657, allocations: 31.34 kB / 283.3 MB, free: 19.86 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.0003598/0.166, allocations: 167.8 kB / 283.4 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.1662, allocations: 92.64 kB / 283.5 MB, free: 19.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/0.1663, allocations: 134.8 kB / 283.6 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.1663, allocations: 12.06 kB / 283.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.1664, allocations: 6.562 kB / 283.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1664, allocations: 4.734 kB / 283.7 MB, free: 19.73 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.1684, allocations: 1.559 MB / 285.2 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1684, allocations: 2.578 kB / 285.2 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.1688, allocations: 143.7 kB / 285.4 MB, free: 19.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.1689, allocations: 123.8 kB / 285.5 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.1694, allocations: 215.8 kB / 285.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.439e-05/0.1694, allocations: 23.83 kB / 285.7 MB, free: 19.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.1724, allocations: 6.483 MB / 292.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1724, allocations: 1.75 kB / 292.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1734, allocations: 0.886 MB / 293.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.539e-05/0.1735, allocations: 25.45 kB / 293.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1736, allocations: 22.41 kB / 293.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1738, allocations: 77.08 kB / 293.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.1738, allocations: 17.42 kB / 293.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.174, allocations: 293.8 kB / 293.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.174, allocations: 1.656 kB / 293.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009278/0.1749, allocations: 387.5 kB / 293.9 MB, free: 13.38 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.000188/0.1751, allocations: 133.2 kB / 294 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.1761, allocations: 1.066 MB / 295.1 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.383e-05/0.1761, allocations: 17.94 kB / 295.1 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.1767, allocations: 0.8628 MB / 296 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.1775, allocations: 374 kB / 296.3 MB, free: 11.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.1841, allocations: 3.44 MB / 299.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1844, allocations: 475 kB / 300.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002893/0.1847, allocations: 108 kB / 300.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.1851, allocations: 293.7 kB / 300.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1851, allocations: 0 / 300.6 MB, free: 10.11 MB / 266.7 MB Notification: Performance of Templates: time 0.02576/0.2109, allocations: 22.29 MB / 322.9 MB, free: 5.129 MB / 282.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 -ignoreHideResult -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.171197548508644]