Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001155/0.001155, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 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.001157/0.001157, allocations: 163.5 kB / 25.33 MB, free: 9.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.01/1.01, allocations: 158.6 MB / 187.2 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.21e-06/5.21e-06, allocations: 3.984 kB / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.739e-05/5.26e-05, allocations: 2.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008819/0.008872, allocations: 6.034 MB / 257.1 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005854/0.01473, allocations: 1.683 MB / 258.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.01629, allocations: 47.69 kB / 258.8 MB, free: 15.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008786/0.01717, allocations: 317.4 kB / 259.1 MB, free: 15.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.0199, allocations: 448.7 kB / 259.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.02099, allocations: 363.4 kB / 259.9 MB, free: 14.6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003093/0.02408, allocations: 2.226 MB / 262.1 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.02666, allocations: 1.32 MB / 263.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.0299, allocations: 1.567 MB / 265 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002641/0.03254, allocations: 1.169 MB / 266.2 MB, free: 8.238 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009067/0.03344, allocations: 288 kB / 266.5 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.03458, allocations: 415.7 kB / 266.9 MB, free: 7.551 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008793/0.03546, allocations: 0.7284 MB / 267.6 MB, free: 6.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002101/0.03756, allocations: 0.8615 MB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.04085, allocations: 2.048 MB / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.04086, allocations: 0 / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.04086, allocations: 0 / 270.5 MB, free: 3.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.509e-05/0.04095, allocations: 0 / 270.5 MB, free: 3.902 MB / 250.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.005294/0.04625, allocations: 2.61 MB / 273.1 MB, free: 1.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.04631, allocations: 15.97 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.04712, allocations: 407.4 kB / 273.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.0492, allocations: 1.026 MB / 274.6 MB, free: 15.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.04933, allocations: 160.5 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/0.04964, allocations: 208.3 kB / 274.9 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/0.05318, allocations: 1.578 MB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.05322, allocations: 3.938 kB / 276.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/0.05341, allocations: 84 kB / 276.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001106/0.05352, allocations: 55.98 kB / 276.6 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/0.05574, allocations: 0.6876 MB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.0672, allocations: 6.093 MB / 283.4 MB, free: 6.586 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.06884, allocations: 0.823 MB / 284.2 MB, free: 5.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.07003, allocations: 0.4949 MB / 284.7 MB, free: 5.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.07012, allocations: 17 kB / 284.7 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/0.07018, allocations: 46.39 kB / 284.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 6.973e-06/0.07019, allocations: 0 / 284.8 MB, free: 5.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.005935/0.07612, allocations: 2.321 MB / 287.1 MB, free: 2.832 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.07618, allocations: 60.41 kB / 287.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.0772, allocations: 0.7688 MB / 287.9 MB, free: 1.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.074e-05/0.07728, allocations: 41.7 kB / 288 MB, free: 1.934 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/0.07796, allocations: 0.9126 MB / 288.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.0783, allocations: 349.1 kB / 289.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.07854, allocations: 200.2 kB / 289.4 MB, free: 468 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002612/0.07881, allocations: 0.5316 MB / 290 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002929/0.0791, allocations: 149.8 kB / 290.1 MB, free: 15.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.07959, allocations: 416 kB / 290.5 MB, free: 15.28 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.08044, allocations: 0.6218 MB / 291.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.08045, allocations: 0 / 291.1 MB, free: 14.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001404/0.08185, allocations: 0.8744 MB / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.08188, allocations: 8 kB / 292 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.0819, allocations: 4 kB / 292 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/0.0826, allocations: 266.4 kB / 292.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004506/0.08305, allocations: 167.8 kB / 292.4 MB, free: 13.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007319/0.09037, allocations: 9.203 MB / 301.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006593/0.09103, allocations: 47.95 kB / 301.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.0911, allocations: 36 kB / 301.7 MB, free: 3.445 MB / 282.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.0006746/0.09178, allocations: 208.4 kB / 301.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.09204, allocations: 135.3 kB / 302.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.09216, allocations: 125.9 kB / 302.2 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.09218, allocations: 8 kB / 302.2 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-05/0.09221, allocations: 15.95 kB / 302.2 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.09222, allocations: 3.984 kB / 302.2 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.09551, allocations: 2.32 MB / 304.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.09551, allocations: 0 / 304.5 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.09583, allocations: 123.8 kB / 304.7 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005069/0.09634, allocations: 262.8 kB / 304.9 MB, free: 152 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.09639, allocations: 20 kB / 304.9 MB, free: 132 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005432/0.1018, allocations: 9.125 MB / 314.1 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.1018, allocations: 4.062 kB / 314.1 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1033, allocations: 1.158 MB / 315.2 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003133/0.1036, allocations: 183.3 kB / 315.4 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.639e-05/0.1036, allocations: 23.98 kB / 315.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.1039, allocations: 39.97 kB / 315.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/0.1041, allocations: 100.8 kB / 315.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.1041, allocations: 27.94 kB / 315.6 MB, free: 4.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004624/0.1046, allocations: 470.9 kB / 316 MB, free: 4.488 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1046, allocations: 0 / 316 MB, free: 4.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001165/0.1057, allocations: 380 kB / 316.4 MB, free: 4.117 MB / 298.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.0002663/0.106, allocations: 151.1 kB / 316.6 MB, free: 3.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.1075, allocations: 1.403 MB / 318 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1075, allocations: 0 / 318 MB, free: 2.488 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008902/0.1084, allocations: 1.155 MB / 319.1 MB, free: 1.258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.1091, allocations: 295.2 kB / 319.4 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.1134, allocations: 3.143 MB / 322.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.1139, allocations: 0.5336 MB / 323.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003139/0.1142, allocations: 152.6 kB / 323.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.1143, allocations: 64.5 kB / 323.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of SimCode: time 2.595e-06/0.1143, allocations: 0 / 323.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of Templates: time 0.027/0.1413, allocations: 20.04 MB / 343.3 MB, free: 8.961 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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.7882662280462682]