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.001143/0.001143, allocations: 83.62 kB / 22.18 MB, free: 2.379 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.0009531/0.0009531, allocations: 159.3 kB / 25.45 MB, free: 8.852 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.8831/0.8831, allocations: 158.6 MB / 187.2 MB, free: 3.031 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 299.7 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.794e-05, allocations: 2.281 kB / 299.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.006986/0.007004, allocations: 9.319 MB / 309.1 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.01285, allocations: 3.152 MB / 312.2 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.0139, allocations: 99.25 kB / 312.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001135/0.01503, allocations: 0.7409 MB / 313 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.01686, allocations: 1.215 MB / 314.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.01751, allocations: 0.4993 MB / 314.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003377/0.02088, allocations: 5.476 MB / 320.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.02282, allocations: 2.234 MB / 322.5 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.02646, allocations: 3.538 MB / 326 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.02867, allocations: 2.502 MB / 328.5 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005071/0.02918, allocations: 0.6211 MB / 329.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.0299, allocations: 0.6991 MB / 329.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008524/0.03075, allocations: 1.698 MB / 331.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.0325, allocations: 1.93 MB / 333.5 MB, free: 4.973 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.0376, allocations: 8.551 MB / 342 MB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.03761, allocations: 0 / 342 MB, free: 12.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.03761, allocations: 0 / 342 MB, free: 12.4 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.03772, allocations: 0 / 342 MB, free: 12.4 MB / 330.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.006247/0.04396, allocations: 5.081 MB / 347.1 MB, free: 7.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.044, allocations: 11.98 kB / 347.1 MB, free: 7.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00079/0.04479, allocations: 0.5759 MB / 347.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.04739, allocations: 2.58 MB / 350.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.04751, allocations: 292.2 kB / 350.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003447/0.04785, allocations: 395.9 kB / 350.9 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.148/0.1958, allocations: 6.121 MB / 357 MB, free: 54.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/0.1959, allocations: 1.031 kB / 357 MB, free: 54.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003402/0.1962, allocations: 159 kB / 357.2 MB, free: 54.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.1964, allocations: 209.3 kB / 357.4 MB, free: 54.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007232/0.2036, allocations: 5.008 MB / 362.4 MB, free: 52.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01437/0.218, allocations: 14.13 MB / 376.5 MB, free: 43.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002868/0.2209, allocations: 3.893 MB / 380.4 MB, free: 39.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.2228, allocations: 2.461 MB / 382.9 MB, free: 37.46 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001878/0.2229, allocations: 57.95 kB / 383 MB, free: 37.4 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.223, allocations: 60.56 kB / 383 MB, free: 37.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=249): time 4.708e-06/0.223, allocations: 3.562 kB / 383 MB, free: 37.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=256): time 0.01032/0.2333, allocations: 10.01 MB / 393 MB, free: 27.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.2333, allocations: 81.42 kB / 393.1 MB, free: 27.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.2351, allocations: 2.2 MB / 395.3 MB, free: 25.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/0.2351, allocations: 65.7 kB / 395.4 MB, free: 25.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/0.2356, allocations: 1.698 MB / 397.1 MB, free: 23.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.2359, allocations: 0.8704 MB / 397.9 MB, free: 22.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003354/0.2363, allocations: 408.7 kB / 398.3 MB, free: 22.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.577e-05/0.2363, allocations: 305.1 kB / 398.6 MB, free: 21.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.2374, allocations: 1.34 MB / 400 MB, free: 20.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.2386, allocations: 1.654 MB / 401.6 MB, free: 18.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002419/0.241, allocations: 3.079 MB / 404.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.241, allocations: 7.938 kB / 404.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.003927/0.245, allocations: 4.384 MB / 409.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.245, allocations: 16 kB / 409.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.245, allocations: 4 kB / 409.1 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/0.2474, allocations: 1.647 MB / 410.8 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007293/0.2481, allocations: 387.5 kB / 411.1 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.2627, allocations: 24.23 MB / 435.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.2638, allocations: 95.86 kB / 435.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.2639, allocations: 83.92 kB / 435.5 MB, free: 15.72 MB / 362.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.001911/0.2658, allocations: 1.415 MB / 437 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003107/0.2661, allocations: 270.4 kB / 437.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.2705, allocations: 4.314 MB / 441.5 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.2705, allocations: 24 kB / 441.6 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.2705, allocations: 11.94 kB / 441.6 MB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.2705, allocations: 11.95 kB / 441.6 MB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008366/0.2789, allocations: 7.765 MB / 449.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2789, allocations: 0 / 449.3 MB, free: 1.762 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.2795, allocations: 291.6 kB / 449.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002383/0.2818, allocations: 1.621 MB / 451.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.282, allocations: 59.98 kB / 451.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01488/0.2968, allocations: 24.01 MB / 475.3 MB, free: 6.781 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.2968, allocations: 4.062 kB / 475.3 MB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005719/0.3026, allocations: 6.02 MB / 481.3 MB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009043/0.3035, allocations: 0.5782 MB / 481.9 MB, free: 60 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.3036, allocations: 52 kB / 482 MB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.3043, allocations: 127.8 kB / 482.1 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/0.3047, allocations: 221.5 kB / 482.3 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.944e-05/0.3048, allocations: 67.98 kB / 482.4 MB, free: 15.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.3063, allocations: 1.527 MB / 483.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3063, allocations: 0 / 483.9 MB, free: 14.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002279/0.3085, allocations: 0.9492 MB / 484.9 MB, free: 13.11 MB / 410.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.0005036/0.309, allocations: 245.7 kB / 485.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00425/0.3133, allocations: 4.762 MB / 489.9 MB, free: 7.961 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.3133, allocations: 8 kB / 489.9 MB, free: 7.953 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002665/0.316, allocations: 3.256 MB / 493.1 MB, free: 4.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.3175, allocations: 0.7299 MB / 493.9 MB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/0.327, allocations: 8.355 MB / 0.4904 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.329, allocations: 2.557 MB / 0.4929 GB, free: 8.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.3294, allocations: 160.5 kB / 0.4931 GB, free: 8.684 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3294, allocations: 0 / 0.4931 GB, free: 8.684 MB / 426.7 MB Notification: Performance of Templates: time 0.3722/0.7015, allocations: 259.5 MB / 0.7465 GB, free: 113.1 MB / 458.7 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.628272033296525]