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.001383/0.001383, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.0009769/0.0009769, allocations: 168.6 kB / 25.33 MB, free: 8.133 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 0.8822/0.8822, allocations: 158.6 MB / 187.2 MB, free: 2.922 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 1.794e-06/1.794e-06, allocations: 0 / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.83e-05, allocations: 9.203 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005333/0.005351, allocations: 6.034 MB / 257.1 MB, free: 1.445 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.008488, allocations: 1.687 MB / 258.8 MB, free: 15.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.008907, allocations: 51.62 kB / 258.8 MB, free: 15.7 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.009356, allocations: 305.5 kB / 259.1 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.01042, allocations: 456.6 kB / 259.5 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.01094, allocations: 363.4 kB / 259.9 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.01253, allocations: 2.218 MB / 262.1 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.01375, allocations: 1.324 MB / 263.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.01523, allocations: 1.583 MB / 265 MB, free: 9.395 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.01646, allocations: 1.158 MB / 266.2 MB, free: 8.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.0168, allocations: 292 kB / 266.5 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005188/0.01732, allocations: 411.7 kB / 266.9 MB, free: 7.547 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000509/0.01782, allocations: 0.7323 MB / 267.6 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009781/0.0188, allocations: 0.8576 MB / 268.5 MB, free: 5.953 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.02043, allocations: 2.037 MB / 270.5 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.02043, allocations: 3.938 kB / 270.5 MB, free: 3.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02044, allocations: 0 / 270.5 MB, free: 3.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.694e-05/0.02046, allocations: 0 / 270.5 MB, free: 3.906 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.00252/0.02298, allocations: 2.606 MB / 273.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.02303, allocations: 11.98 kB / 273.1 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.02349, allocations: 407.4 kB / 273.5 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.02452, allocations: 0.9989 MB / 274.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.099e-05/0.02461, allocations: 156.5 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.02482, allocations: 208.3 kB / 274.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.02681, allocations: 1.589 MB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.411e-05/0.02684, allocations: 3.938 kB / 276.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.02696, allocations: 88 kB / 276.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.02702, allocations: 52 kB / 276.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.02821, allocations: 0.6876 MB / 277.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005479/0.03368, allocations: 6.089 MB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.03453, allocations: 0.8272 MB / 284.2 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/0.03516, allocations: 490.8 kB / 284.7 MB, free: 5.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.0352, allocations: 20.98 kB / 284.7 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.03522, allocations: 50.39 kB / 284.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.014e-06/0.03523, allocations: 0 / 284.8 MB, free: 5.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.003399/0.03862, allocations: 2.321 MB / 287.1 MB, free: 2.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.03866, allocations: 60.41 kB / 287.1 MB, free: 2.801 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.03928, allocations: 0.7727 MB / 287.9 MB, free: 2.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.429e-05/0.03932, allocations: 37.7 kB / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.03977, allocations: 0.9165 MB / 288.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.03998, allocations: 353.1 kB / 289.2 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.04018, allocations: 188.2 kB / 289.4 MB, free: 0.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.04035, allocations: 0.5316 MB / 289.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.0406, allocations: 145.9 kB / 290.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003683/0.04097, allocations: 420 kB / 290.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000666/0.04164, allocations: 0.6179 MB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.04164, allocations: 3.938 kB / 291.1 MB, free: 14.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001097/0.04274, allocations: 0.8745 MB / 292 MB, free: 13.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.04276, allocations: 8 kB / 292 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.04277, allocations: 7.984 kB / 292 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.04333, allocations: 266.4 kB / 292.2 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.04373, allocations: 163.8 kB / 292.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004944/0.04867, allocations: 9.203 MB / 301.6 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002415/0.04892, allocations: 47.89 kB / 301.7 MB, free: 3.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.04896, allocations: 40.06 kB / 301.7 MB, free: 3.484 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.0003224/0.04929, allocations: 208.4 kB / 301.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.04943, allocations: 135.3 kB / 302 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.04955, allocations: 125.8 kB / 302.2 MB, free: 3.008 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.04957, allocations: 12 kB / 302.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/0.04958, allocations: 3.938 kB / 302.2 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.04959, allocations: 3.984 kB / 302.2 MB, free: 2.988 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.05239, allocations: 2.327 MB / 304.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.0524, allocations: 0 / 304.5 MB, free: 0.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.05269, allocations: 127.8 kB / 304.6 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004472/0.05314, allocations: 258.8 kB / 304.9 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.05318, allocations: 19.94 kB / 304.9 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004659/0.05784, allocations: 9.129 MB / 314 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.05784, allocations: 4 kB / 314 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.05917, allocations: 1.159 MB / 315.2 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.0594, allocations: 183.3 kB / 315.4 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.797e-05/0.05948, allocations: 23.98 kB / 315.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.05968, allocations: 35.97 kB / 315.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.05986, allocations: 100.8 kB / 315.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.0599, allocations: 27.98 kB / 315.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003969/0.0603, allocations: 478.9 kB / 316 MB, free: 4.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.0603, allocations: 0 / 316 MB, free: 4.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009858/0.06128, allocations: 376 kB / 316.4 MB, free: 4.152 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.0002577/0.06154, allocations: 143 kB / 316.5 MB, free: 4.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.06286, allocations: 1.403 MB / 317.9 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.06286, allocations: 8.125 kB / 317.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.06372, allocations: 1.146 MB / 319.1 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007188/0.06444, allocations: 299.5 kB / 319.4 MB, free: 1.008 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003685/0.06812, allocations: 3.143 MB / 322.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.06852, allocations: 0.5297 MB / 323.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.06879, allocations: 148.6 kB / 323.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.06891, allocations: 68.48 kB / 323.3 MB, free: 13.03 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.06892, allocations: 3.938 kB / 323.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Templates: time 0.02578/0.09469, allocations: 21.04 MB / 344.3 MB, free: 8 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.5278849308378994]