Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001642/0.002686, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002397, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8699/0.8699, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1729/1.043, allocations: 52.48 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 239.8 MB, free: 6.316 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.684e-05, allocations: 3.812 kB / 239.8 MB, free: 6.312 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0116/0.01163, allocations: 10.37 MB / 250.1 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008946/0.02058, allocations: 3.31 MB / 253.4 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.02341, allocations: 111.9 kB / 253.6 MB, free: 8.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.02612, allocations: 0.7467 MB / 254.3 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0049/0.03102, allocations: 1.225 MB / 255.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.0325, allocations: 475.4 kB / 256 MB, free: 6.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006895/0.0394, allocations: 5.375 MB / 261.4 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003808/0.04321, allocations: 2.507 MB / 263.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007164/0.05037, allocations: 3.938 MB / 267.8 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004044/0.05441, allocations: 2.74 MB / 270.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001273/0.05569, allocations: 0.6211 MB / 271.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.05735, allocations: 0.7068 MB / 271.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.05837, allocations: 1.407 MB / 273.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002263/0.06063, allocations: 1.615 MB / 274.9 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003533/0.06417, allocations: 4.315 MB / 279.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175e-05/0.06418, allocations: 0 / 279.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.06418, allocations: 0 / 279.2 MB, free: 14.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002143/0.06439, allocations: 0 / 279.2 MB, free: 14.68 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.006565/0.07096, allocations: 5.786 MB / 285 MB, free: 8.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.07099, allocations: 11.98 kB / 285 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.07211, allocations: 0.8099 MB / 285.8 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.07445, allocations: 1.706 MB / 287.5 MB, free: 6.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.07458, allocations: 288.2 kB / 287.8 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.07494, allocations: 403.9 kB / 288.2 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.0786, allocations: 3.221 MB / 291.4 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.07865, allocations: 3.938 kB / 291.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.07887, allocations: 160 kB / 291.6 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/0.079, allocations: 200 kB / 291.8 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.08082, allocations: 1.186 MB / 293 MB, free: 0.5781 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.0923, allocations: 9.136 MB / 302.1 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.09432, allocations: 1.957 MB / 304.1 MB, free: 5.234 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.09538, allocations: 1.061 MB / 305.1 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.09557, allocations: 73.98 kB / 305.2 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.09562, allocations: 60.56 kB / 305.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=249): time 4.258e-06/0.09562, allocations: 0 / 305.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=256): time 0.007604/0.1032, allocations: 4.175 MB / 309.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1033, allocations: 81.42 kB / 309.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.1047, allocations: 1.43 MB / 310.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.1048, allocations: 65.7 kB / 311 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/0.1053, allocations: 1.383 MB / 312.4 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/0.1058, allocations: 0.8751 MB / 313.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000373/0.1061, allocations: 384.5 kB / 313.6 MB, free: 11.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.141e-05/0.1062, allocations: 309.1 kB / 313.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/0.1066, allocations: 296 kB / 314.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/0.1071, allocations: 0.5534 MB / 314.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1081, allocations: 1.086 MB / 315.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1081, allocations: 0 / 315.9 MB, free: 9.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002677/0.1108, allocations: 1.654 MB / 317.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.1108, allocations: 8 kB / 317.5 MB, free: 7.281 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1108, allocations: 12 kB / 317.5 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.1131, allocations: 1.046 MB / 318.6 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.1141, allocations: 499.8 kB / 319.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.1247, allocations: 17.39 MB / 336.5 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.1259, allocations: 59.98 kB / 336.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.126, allocations: 60 kB / 336.6 MB, free: 3.258 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.0008809/0.1269, allocations: 244.3 kB / 336.8 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004028/0.1273, allocations: 271.7 kB / 337.1 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.1296, allocations: 1.741 MB / 338.8 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.1297, allocations: 24 kB / 338.9 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.1297, allocations: 8.062 kB / 338.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.1297, allocations: 15.95 kB / 338.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1211/0.2507, allocations: 3.717 MB / 342.6 MB, free: 77.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.2508, allocations: 1.125 kB / 342.6 MB, free: 77.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.2515, allocations: 348.1 kB / 342.9 MB, free: 77.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009148/0.2524, allocations: 338.3 kB / 343.3 MB, free: 77.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/0.2546, allocations: 1.043 MB / 344.3 MB, free: 77.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.2547, allocations: 57.67 kB / 344.4 MB, free: 77.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008164/0.2629, allocations: 17.6 MB / 362 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.2629, allocations: 0 / 362 MB, free: 64.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.2658, allocations: 2.165 MB / 364.1 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004062/0.2662, allocations: 56.92 kB / 364.2 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006199/0.2668, allocations: 88.41 kB / 364.3 MB, free: 63.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/0.2672, allocations: 214.5 kB / 364.5 MB, free: 63.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.2673, allocations: 51.67 kB / 364.5 MB, free: 63.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007415/0.268, allocations: 0.7591 MB / 365.3 MB, free: 63.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.268, allocations: 0 / 365.3 MB, free: 63.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002237/0.2702, allocations: 0.9498 MB / 366.2 MB, free: 63.57 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.0007263/0.271, allocations: 231.8 kB / 366.5 MB, free: 63.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002548/0.2735, allocations: 2.81 MB / 369.3 MB, free: 62.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.374e-05/0.2736, allocations: 45.28 kB / 369.3 MB, free: 62.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.2753, allocations: 2.502 MB / 371.8 MB, free: 60.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.278, allocations: 8.112 MB / 379.9 MB, free: 50.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02325/0.3013, allocations: 7.576 MB / 387.5 MB, free: 43.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.3022, allocations: 1.066 MB / 388.6 MB, free: 42.44 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008863/0.3031, allocations: 282.3 kB / 388.8 MB, free: 42.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.3041, allocations: 0.6865 MB / 389.5 MB, free: 41.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.604e-06/0.3041, allocations: 0 / 389.5 MB, free: 41.45 MB / 330.7 MB Notification: Performance of Templates: time 0.06029/0.3644, allocations: 59.44 MB / 449 MB, free: 14.95 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.109974829480052]