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.001038/0.001038, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001084/0.001084, allocations: 163.5 kB / 25.33 MB, free: 9.23 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.8716/0.8716, allocations: 158.6 MB / 187.2 MB, free: 2.508 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.683e-06/1.683e-06, allocations: 0 / 251.1 MB, free: 3.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.502e-05, allocations: 2.312 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008491/0.008516, allocations: 10.53 MB / 261.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.01326, allocations: 3.265 MB / 264.9 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008664/0.01413, allocations: 95.25 kB / 265 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.01523, allocations: 0.7292 MB / 265.7 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.01712, allocations: 1.23 MB / 266.9 MB, free: 3.617 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.01772, allocations: 0.4954 MB / 267.4 MB, free: 3.121 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003636/0.02136, allocations: 5.464 MB / 272.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.0234, allocations: 2.238 MB / 275.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004083/0.02749, allocations: 3.622 MB / 278.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.03026, allocations: 2.728 MB / 281.5 MB, free: 4.988 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007505/0.03101, allocations: 0.6211 MB / 282.1 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.03193, allocations: 0.7029 MB / 282.8 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009715/0.0329, allocations: 1.718 MB / 284.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.03472, allocations: 1.953 MB / 286.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.0383, allocations: 4.58 MB / 291 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.03831, allocations: 0 / 291 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.03831, allocations: 0 / 291 MB, free: 11.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.687e-05/0.0384, allocations: 4 kB / 291 MB, free: 11.39 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.005658/0.04405, allocations: 5.407 MB / 296.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.0441, allocations: 8.031 kB / 296.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.04581, allocations: 0.9038 MB / 297.4 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003433/0.04924, allocations: 2.337 MB / 299.7 MB, free: 2.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.04942, allocations: 296.2 kB / 300 MB, free: 2.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004956/0.04992, allocations: 403.9 kB / 300.4 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1411/0.1911, allocations: 3.437 MB / 303.8 MB, free: 51.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-05/0.1911, allocations: 3.438 kB / 303.8 MB, free: 51.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002869/0.1914, allocations: 165.7 kB / 304 MB, free: 51.33 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002592/0.1917, allocations: 206.2 kB / 304.2 MB, free: 51.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003618/0.1953, allocations: 1.472 MB / 305.7 MB, free: 51.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01446/0.2097, allocations: 12.81 MB / 318.5 MB, free: 44.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.2126, allocations: 2.345 MB / 320.8 MB, free: 43.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.2143, allocations: 1.311 MB / 322.1 MB, free: 43.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.2146, allocations: 79.81 kB / 322.2 MB, free: 43.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.2146, allocations: 61.55 kB / 322.3 MB, free: 43.28 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 6.573e-06/0.2146, allocations: 0 / 322.3 MB, free: 43.28 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.01066/0.2253, allocations: 5.719 MB / 328 MB, free: 37.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2253, allocations: 77.42 kB / 328.1 MB, free: 37.7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.2274, allocations: 1.836 MB / 329.9 MB, free: 35.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.2275, allocations: 77.7 kB / 330 MB, free: 35.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007649/0.2283, allocations: 1.8 MB / 331.8 MB, free: 34.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.2288, allocations: 0.9189 MB / 332.7 MB, free: 33.26 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.2293, allocations: 446.9 kB / 333.1 MB, free: 32.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.75e-05/0.2293, allocations: 480.7 kB / 333.6 MB, free: 32.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007783/0.2301, allocations: 376.5 kB / 334 MB, free: 31.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/0.2311, allocations: 0.8068 MB / 334.8 MB, free: 31.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.233, allocations: 1.321 MB / 336.1 MB, free: 29.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.233, allocations: 0 / 336.1 MB, free: 29.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003904/0.2369, allocations: 2.24 MB / 338.3 MB, free: 27.24 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.2369, allocations: 9.859 kB / 338.3 MB, free: 27.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2369, allocations: 4 kB / 338.4 MB, free: 27.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003132/0.2401, allocations: 1.112 MB / 339.5 MB, free: 26.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.2411, allocations: 391.5 kB / 339.8 MB, free: 25.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0126/0.2537, allocations: 24.28 MB / 364.1 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001435/0.2551, allocations: 95.86 kB / 364.2 MB, free: 160 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.2552, allocations: 76 kB / 364.3 MB, free: 84 kB / 282.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.0009556/0.2562, allocations: 292.2 kB / 364.6 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005658/0.2568, allocations: 366.2 kB / 364.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.2602, allocations: 2.281 MB / 367.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.2602, allocations: 24 kB / 367.2 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.2602, allocations: 8 kB / 367.2 MB, free: 13.01 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.2602, allocations: 11.95 kB / 367.3 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00785/0.2681, allocations: 5.624 MB / 372.9 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.2681, allocations: 4 kB / 372.9 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.2687, allocations: 287.6 kB / 373.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002419/0.2711, allocations: 1.121 MB / 374.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.2712, allocations: 55.98 kB / 374.3 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01448/0.2857, allocations: 24.13 MB / 398.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2857, allocations: 4.031 kB / 398.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004198/0.2899, allocations: 2.826 MB / 401.3 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.2909, allocations: 0.5354 MB / 401.8 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.2912, allocations: 56.05 kB / 401.9 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006409/0.2918, allocations: 131.8 kB / 402 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/0.2922, allocations: 241.3 kB / 402.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.2923, allocations: 64 kB / 402.3 MB, free: 8.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2936, allocations: 1.07 MB / 403.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2936, allocations: 0 / 403.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00258/0.2961, allocations: 0.9414 MB / 404.3 MB, free: 6.488 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.0005017/0.2966, allocations: 247.7 kB / 404.6 MB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0037/0.3003, allocations: 3.657 MB / 408.2 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.3003, allocations: 4 kB / 408.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002535/0.3029, allocations: 3.117 MB / 411.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.305, allocations: 0.7524 MB / 412.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/0.3147, allocations: 7.14 MB / 419.2 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.3158, allocations: 1.245 MB / 420.5 MB, free: 5.859 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009756/0.3168, allocations: 417.7 kB / 420.9 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.3171, allocations: 156.5 kB / 421.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of SimCode: time 1.432e-06/0.3171, allocations: 0 / 421.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of Templates: time 0.1661/0.4832, allocations: 52.5 MB / 473.6 MB, free: 96.49 MB / 362.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.774053740315139]