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.000958/0.000958, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009974/0.0009974, allocations: 160.1 kB / 25.75 MB, free: 8.945 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.886/0.886, allocations: 158.6 MB / 187.5 MB, free: 2.906 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.272e-06/1.272e-06, allocations: 0 / 251.1 MB, free: 7.754 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.292e-05, allocations: 2.312 kB / 251.2 MB, free: 7.75 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007745/0.007758, allocations: 10.47 MB / 261.6 MB, free: 13.23 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.01221, allocations: 3.249 MB / 264.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007029/0.01291, allocations: 95.25 kB / 265 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.01399, allocations: 0.7293 MB / 265.7 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001782/0.01577, allocations: 1.238 MB / 266.9 MB, free: 7.895 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006665/0.01644, allocations: 0.4954 MB / 267.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.01993, allocations: 5.457 MB / 272.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.02189, allocations: 2.249 MB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.02526, allocations: 3.623 MB / 278.8 MB, free: 12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.02759, allocations: 2.717 MB / 281.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.02879, allocations: 0.6289 MB / 282.1 MB, free: 8.645 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.0302, allocations: 0.703 MB / 282.8 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.03142, allocations: 1.718 MB / 284.5 MB, free: 6.219 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002257/0.03368, allocations: 1.957 MB / 286.5 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.03756, allocations: 4.58 MB / 291.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.03757, allocations: 4 kB / 291.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.03757, allocations: 0 / 291.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001349/0.0377, allocations: 0 / 291.1 MB, free: 15.66 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.006144/0.04385, allocations: 5.411 MB / 296.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.04389, allocations: 8.031 kB / 296.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/0.04519, allocations: 0.8922 MB / 297.4 MB, free: 9.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.04779, allocations: 2.341 MB / 299.7 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.04794, allocations: 292.2 kB / 300 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.04831, allocations: 399.9 kB / 300.4 MB, free: 6.191 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.05284, allocations: 3.448 MB / 303.8 MB, free: 2.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/0.0529, allocations: 4 kB / 303.8 MB, free: 2.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/0.05316, allocations: 160 kB / 304 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.05332, allocations: 211.9 kB / 304.2 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.05643, allocations: 1.476 MB / 305.7 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01459/0.07102, allocations: 12.81 MB / 318.5 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.07352, allocations: 2.351 MB / 320.8 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/0.07509, allocations: 1.31 MB / 322.1 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.07529, allocations: 73.97 kB / 322.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.635e-05/0.07534, allocations: 67.38 kB / 322.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=249): time 4.298e-06/0.07534, allocations: 0 / 322.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=256): time 0.009009/0.08435, allocations: 5.709 MB / 328 MB, free: 10.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.08439, allocations: 77.42 kB / 328.1 MB, free: 10 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.08615, allocations: 1.842 MB / 329.9 MB, free: 8.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.08625, allocations: 69.7 kB / 330 MB, free: 8.039 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008486/0.08709, allocations: 1.803 MB / 331.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004904/0.08758, allocations: 0.9144 MB / 332.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.08803, allocations: 454.7 kB / 333.1 MB, free: 4.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.08813, allocations: 480.7 kB / 333.6 MB, free: 4.371 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/0.08878, allocations: 376.5 kB / 334 MB, free: 4 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008888/0.08967, allocations: 0.8068 MB / 334.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.09129, allocations: 1.318 MB / 336.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/0.0913, allocations: 0 / 336.1 MB, free: 1.594 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00316/0.09446, allocations: 2.234 MB / 338.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/0.09448, allocations: 10.97 kB / 338.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.0945, allocations: 8 kB / 338.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002561/0.09706, allocations: 1.12 MB / 339.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/0.09787, allocations: 379.5 kB / 339.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1364/0.2343, allocations: 24.28 MB / 364.1 MB, free: 86.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.2355, allocations: 96.05 kB / 364.2 MB, free: 86.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001796/0.2357, allocations: 77.23 kB / 364.3 MB, free: 86.69 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.0009475/0.2367, allocations: 290.9 kB / 364.6 MB, free: 86.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004598/0.2371, allocations: 369.4 kB / 364.9 MB, free: 86.51 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002822/0.2399, allocations: 2.278 MB / 367.2 MB, free: 86.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.2399, allocations: 27.88 kB / 367.2 MB, free: 86.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.24, allocations: 8.969 kB / 367.3 MB, free: 86.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.24, allocations: 13.95 kB / 367.3 MB, free: 86.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/0.2461, allocations: 5.624 MB / 372.9 MB, free: 85.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2461, allocations: 0 / 372.9 MB, free: 85.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.2467, allocations: 289.2 kB / 373.2 MB, free: 85.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002182/0.2489, allocations: 1.114 MB / 374.3 MB, free: 84.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.249, allocations: 63.27 kB / 374.4 MB, free: 84.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008677/0.2577, allocations: 24.13 MB / 398.5 MB, free: 59.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2577, allocations: 0 / 398.5 MB, free: 59.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.2609, allocations: 2.82 MB / 401.3 MB, free: 57.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006752/0.2616, allocations: 0.528 MB / 401.8 MB, free: 56.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.2618, allocations: 59.92 kB / 401.9 MB, free: 56.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.2624, allocations: 119.9 kB / 402 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003329/0.2627, allocations: 241.5 kB / 402.2 MB, free: 56.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.2628, allocations: 60 kB / 402.3 MB, free: 56.19 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009381/0.2638, allocations: 1.07 MB / 403.4 MB, free: 55.1 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2638, allocations: 4 kB / 403.4 MB, free: 55.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002148/0.2659, allocations: 0.9492 MB / 404.3 MB, free: 54.15 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.0004469/0.2664, allocations: 247.5 kB / 404.6 MB, free: 53.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002869/0.2692, allocations: 3.667 MB / 408.2 MB, free: 50.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.2692, allocations: 0 / 408.2 MB, free: 50.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.2712, allocations: 3.107 MB / 411.3 MB, free: 46.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.2728, allocations: 0.761 MB / 412.1 MB, free: 46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.2805, allocations: 7.137 MB / 419.2 MB, free: 38.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000869/0.2813, allocations: 1.249 MB / 420.5 MB, free: 37.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007854/0.2821, allocations: 425.7 kB / 420.9 MB, free: 37.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002927/0.2824, allocations: 152.5 kB / 421.1 MB, free: 36.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.773e-06/0.2824, allocations: 0 / 421.1 MB, free: 36.98 MB / 330.7 MB Notification: Performance of Templates: time 0.05363/0.336, allocations: 52.51 MB / 473.6 MB, free: 496 kB / 346.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 -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.500168368918821]