Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001072/0.001072, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001158/0.001158, allocations: 170.3 kB / 25.69 MB, free: 8.453 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.905/0.905, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.137e-05, allocations: 2.312 kB / 251.6 MB, free: 7.184 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.00856/0.008581, allocations: 10.26 MB / 261.9 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.01462, allocations: 3.384 MB / 265.2 MB, free: 9.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.01617, allocations: 95.25 kB / 265.3 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.01764, allocations: 0.7448 MB / 266.1 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.02053, allocations: 1.226 MB / 267.3 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.02135, allocations: 0.5032 MB / 267.8 MB, free: 6.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00423/0.02558, allocations: 5.476 MB / 273.3 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/0.02837, allocations: 2.308 MB / 275.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005193/0.03356, allocations: 3.612 MB / 279.2 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/0.03742, allocations: 2.744 MB / 282 MB, free: 8.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.03848, allocations: 0.6211 MB / 282.6 MB, free: 8.027 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.03971, allocations: 0.703 MB / 283.3 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.04081, allocations: 1.722 MB / 285 MB, free: 5.598 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00235/0.04316, allocations: 1.949 MB / 286.9 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004893/0.04805, allocations: 4.58 MB / 291.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.04806, allocations: 0 / 291.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.04806, allocations: 4 kB / 291.5 MB, free: 15.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001393/0.0482, allocations: 0 / 291.5 MB, free: 15.05 MB / 282.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.005965/0.05416, allocations: 4.794 MB / 296.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.0542, allocations: 16.02 kB / 296.3 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.05539, allocations: 0.7268 MB / 297.1 MB, free: 9.457 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.05763, allocations: 1.515 MB / 298.6 MB, free: 7.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.05777, allocations: 296.2 kB / 298.9 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000373/0.05814, allocations: 391.9 kB / 299.3 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.06217, allocations: 3.225 MB / 302.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.666e-05/0.06223, allocations: 7.938 kB / 302.5 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/0.06246, allocations: 164 kB / 302.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001498/0.06261, allocations: 208 kB / 302.9 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.06458, allocations: 1.183 MB / 304 MB, free: 2.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.07609, allocations: 9.077 MB / 313.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.07792, allocations: 1.956 MB / 315.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.079, allocations: 1.069 MB / 316.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001771/0.07918, allocations: 65.98 kB / 316.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.337e-05/0.07922, allocations: 60.56 kB / 316.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 5.36e-06/0.07923, allocations: 0 / 316.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.007621/0.08685, allocations: 4.108 MB / 320.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.08689, allocations: 81.42 kB / 320.4 MB, free: 1.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.08832, allocations: 1.434 MB / 321.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.08843, allocations: 65.7 kB / 321.9 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/0.089, allocations: 1.383 MB / 323.3 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000683/0.08969, allocations: 0.8712 MB / 324.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.09009, allocations: 384.5 kB / 324.6 MB, free: 13.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.09016, allocations: 301.1 kB / 324.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.09057, allocations: 299.8 kB / 325.2 MB, free: 12.65 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.09108, allocations: 0.5496 MB / 325.7 MB, free: 12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.09213, allocations: 1.066 MB / 326.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.09214, allocations: 0 / 326.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00227/0.09441, allocations: 1.658 MB / 328.4 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.09443, allocations: 4 kB / 328.4 MB, free: 9.074 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.09444, allocations: 8 kB / 328.4 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002291/0.09673, allocations: 1.019 MB / 329.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.09776, allocations: 471.3 kB / 329.9 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.11, allocations: 17.37 MB / 347.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.1116, allocations: 63.98 kB / 347.4 MB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.1117, allocations: 59.98 kB / 347.4 MB, free: 5.121 MB / 330.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.000881/0.1126, allocations: 248.3 kB / 347.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004388/0.113, allocations: 267.7 kB / 347.9 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.1153, allocations: 1.741 MB / 349.7 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1154, allocations: 24 kB / 349.7 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.1154, allocations: 8 kB / 349.7 MB, free: 2.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.1154, allocations: 11.95 kB / 349.7 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1224/0.2378, allocations: 3.724 MB / 353.4 MB, free: 93.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.2378, allocations: 1.719 kB / 353.4 MB, free: 93.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008629/0.2387, allocations: 314.6 kB / 353.7 MB, free: 93.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002295/0.241, allocations: 1.029 MB / 354.8 MB, free: 93.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/0.2411, allocations: 55.28 kB / 354.8 MB, free: 93.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008554/0.2497, allocations: 17.59 MB / 372.4 MB, free: 79.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2497, allocations: 6.781 kB / 372.4 MB, free: 79.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.2523, allocations: 2.134 MB / 374.6 MB, free: 79.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006578/0.253, allocations: 333 kB / 374.9 MB, free: 79.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.2532, allocations: 60.77 kB / 374.9 MB, free: 79.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.2538, allocations: 92.81 kB / 375 MB, free: 79.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003293/0.2541, allocations: 207.7 kB / 375.2 MB, free: 79.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/0.2542, allocations: 48.98 kB / 375.3 MB, free: 79.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006894/0.2549, allocations: 0.7606 MB / 376 MB, free: 78.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2549, allocations: 0 / 376 MB, free: 78.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002151/0.257, allocations: 0.9489 MB / 377 MB, free: 78.69 MB / 330.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.0004269/0.2574, allocations: 235.6 kB / 377.2 MB, free: 78.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.2597, allocations: 2.78 MB / 380 MB, free: 76.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.676e-05/0.2598, allocations: 24.5 kB / 380 MB, free: 76.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.2615, allocations: 2.383 MB / 382.4 MB, free: 74.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.2632, allocations: 0.7486 MB / 383.2 MB, free: 73.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008375/0.2715, allocations: 6.889 MB / 390 MB, free: 66.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009594/0.2725, allocations: 1.019 MB / 391.1 MB, free: 65.67 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008402/0.2733, allocations: 282 kB / 391.3 MB, free: 65.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.2745, allocations: 0.6748 MB / 392 MB, free: 64.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.863e-06/0.2745, allocations: 4 kB / 392 MB, free: 64.69 MB / 330.7 MB Notification: Performance of Templates: time 0.05725/0.3318, allocations: 55.98 MB / 448 MB, free: 8.754 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.278721516951919]