Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.0009552/0.0009552, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.000973/0.000973, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 1.031/1.031, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.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.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.713e-05/2.935e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009076/0.009105, allocations: 10.61 MB / 283.6 MB, free: 6.863 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005357/0.01446, allocations: 3.221 MB / 286.8 MB, free: 3.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.01578, allocations: 107.2 kB / 286.9 MB, free: 3.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001515/0.0173, allocations: 0.741 MB / 287.7 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.01947, allocations: 1.23 MB / 288.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.02021, allocations: 495.3 kB / 289.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1187/0.1389, allocations: 5.311 MB / 294.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003848/0.1427, allocations: 2.442 MB / 297.1 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006895/0.1496, allocations: 3.643 MB / 300.8 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004588/0.1542, allocations: 2.734 MB / 303.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.1557, allocations: 0.6223 MB / 304.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.1572, allocations: 0.7106 MB / 304.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.1584, allocations: 1.727 MB / 306.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002512/0.1609, allocations: 1.952 MB / 308.5 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004034/0.165, allocations: 4.601 MB / 313.1 MB, free: 7.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.165, allocations: 3.984 kB / 313.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.165, allocations: 4.156 kB / 313.1 MB, free: 7.422 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001726/0.1652, allocations: 0 / 313.1 MB, free: 7.422 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.006393/0.1716, allocations: 5.444 MB / 318.6 MB, free: 1.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.1716, allocations: 12.03 kB / 318.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.1729, allocations: 0.9185 MB / 319.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002696/0.1756, allocations: 2.579 MB / 322.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.1757, allocations: 291.6 kB / 322.4 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000364/0.1761, allocations: 397.5 kB / 322.8 MB, free: 13.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004513/0.1806, allocations: 3.451 MB / 326.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.199e-05/0.1807, allocations: 7.656 kB / 326.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.1809, allocations: 156 kB / 326.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.1811, allocations: 205 kB / 326.6 MB, free: 9.895 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.1842, allocations: 1.471 MB / 328.1 MB, free: 8.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.1995, allocations: 12.81 MB / 340.9 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.2021, allocations: 2.337 MB / 343.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001531/0.2036, allocations: 1.309 MB / 344.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/0.2038, allocations: 69.97 kB / 344.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.2038, allocations: 71.39 kB / 344.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.248e-06/0.2038, allocations: 0 / 344.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.009842/0.2137, allocations: 5.717 MB / 350.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2137, allocations: 77.42 kB / 350.4 MB, free: 2.219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001987/0.2157, allocations: 1.85 MB / 352.3 MB, free: 328 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.2158, allocations: 73.7 kB / 352.4 MB, free: 248 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.2171, allocations: 1.811 MB / 354.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/0.2177, allocations: 0.9159 MB / 355.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004628/0.2181, allocations: 446.9 kB / 355.5 MB, free: 13.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.735e-05/0.2182, allocations: 476.8 kB / 356 MB, free: 12.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006781/0.2189, allocations: 372.5 kB / 356.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.2198, allocations: 0.809 MB / 357.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.2215, allocations: 1.316 MB / 358.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.2215, allocations: 8 kB / 358.5 MB, free: 9.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003697/0.2252, allocations: 2.248 MB / 360.7 MB, free: 7.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.2252, allocations: 11.94 kB / 360.7 MB, free: 7.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.2252, allocations: 8 kB / 360.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/0.2277, allocations: 1.122 MB / 361.9 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007949/0.2285, allocations: 388.8 kB / 362.3 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.2431, allocations: 24.29 MB / 386.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.2444, allocations: 91.88 kB / 386.6 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/0.2446, allocations: 83.94 kB / 386.7 MB, free: 12.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0009455/0.2455, allocations: 293.6 kB / 387 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.2461, allocations: 366.2 kB / 387.4 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.2501, allocations: 2.282 MB / 389.6 MB, free: 9.598 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.2501, allocations: 24 kB / 389.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.2501, allocations: 8 kB / 389.7 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.2501, allocations: 11.95 kB / 389.7 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009428/0.2596, allocations: 5.634 MB / 395.3 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.2596, allocations: 0 / 395.3 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008609/0.2604, allocations: 288.9 kB / 395.6 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003172/0.2636, allocations: 1.119 MB / 396.7 MB, free: 2.488 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.2638, allocations: 59.97 kB / 396.8 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01706/0.2808, allocations: 24.13 MB / 420.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2808, allocations: 0 / 420.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/0.2859, allocations: 2.827 MB / 423.7 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.287, allocations: 0.5394 MB / 424.3 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000285/0.2872, allocations: 51.98 kB / 424.3 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.2881, allocations: 119.9 kB / 424.4 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000497/0.2886, allocations: 236.8 kB / 424.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/0.2888, allocations: 67.98 kB / 424.7 MB, free: 5.344 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001526/0.2903, allocations: 1.07 MB / 425.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2903, allocations: 0 / 425.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003309/0.2936, allocations: 0.9453 MB / 426.8 MB, free: 3.309 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005266/0.2941, allocations: 257.3 kB / 427 MB, free: 3.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1096/0.4037, allocations: 3.663 MB / 430.7 MB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/0.4037, allocations: 3.031 kB / 430.7 MB, free: 113.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003168/0.4069, allocations: 3.109 MB / 433.8 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.4095, allocations: 0.7492 MB / 434.5 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.4196, allocations: 7.166 MB / 441.7 MB, free: 108.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.4212, allocations: 1.255 MB / 442.9 MB, free: 108.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001449/0.4227, allocations: 422 kB / 443.4 MB, free: 108.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.423, allocations: 157.2 kB / 443.5 MB, free: 108.5 MB / 378.7 MB Notification: Performance of SimCode: time 2.174e-06/0.423, allocations: 0 / 443.5 MB, free: 108.5 MB / 378.7 MB Notification: Performance of Templates: time 0.0565/0.4795, allocations: 54.64 MB / 498.2 MB, free: 64.14 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.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: 4.7175281080417335]