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.001931/0.001931, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 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.002288/0.002288, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 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 1.588/1.588, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] 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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..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.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 51.92 kB / 370.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2682, allocations: 52.18 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01728/0.2855, allocations: 9.366 MB / 432.5 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009774/0.2953, allocations: 3.08 MB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.2981, allocations: 111.2 kB / 435.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003151/0.3013, allocations: 0.7177 MB / 436.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005775/0.307, allocations: 1.197 MB / 437.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.3092, allocations: 463.4 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009899/0.3191, allocations: 5.135 MB / 443.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006219/0.3253, allocations: 2.425 MB / 445.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006476/0.3318, allocations: 2.451 MB / 448 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006212/0.338, allocations: 2.779 MB / 450.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001471/0.3395, allocations: 0.6249 MB / 451.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002187/0.3417, allocations: 0.6952 MB / 452.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002258/0.3439, allocations: 1.648 MB / 453.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005118/0.349, allocations: 2.249 MB / 456 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.3628, allocations: 8.479 MB / 464.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.3628, allocations: 4 kB / 464.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3628, allocations: 0 / 464.5 MB, free: 4.844 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002409/0.363, allocations: 0 / 464.5 MB, free: 4.844 MB / 366.1 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.01567/0.3787, allocations: 5.149 MB / 469.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3788, allocations: 12.03 kB / 469.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.381, allocations: 0.572 MB / 470.3 MB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00795/0.3889, allocations: 2.82 MB / 473.1 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003699/0.3893, allocations: 291.8 kB / 473.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009722/0.3903, allocations: 395.9 kB / 473.7 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01568/0.4059, allocations: 6.123 MB / 479.9 MB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001054/0.406, allocations: 3.938 kB / 479.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004379/0.4065, allocations: 163.9 kB / 480 MB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/0.4067, allocations: 208 kB / 480.2 MB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008755/0.4155, allocations: 5.012 MB / 485.2 MB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02547/0.4409, allocations: 14.12 MB / 499.4 MB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005843/0.4468, allocations: 3.898 MB / 0.4915 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/0.4506, allocations: 2.442 MB / 0.4939 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000245/0.4508, allocations: 57.97 kB / 0.4939 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.326e-05/0.4509, allocations: 68.5 kB / 0.494 GB, free: 11.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.568e-06/0.4509, allocations: 4 kB / 0.494 GB, free: 11.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02187/0.4728, allocations: 10.01 MB / 0.5037 GB, free: 0.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.4729, allocations: 77.42 kB / 0.5038 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.4772, allocations: 2.196 MB / 0.506 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002529/0.4775, allocations: 65.7 kB / 0.506 GB, free: 14.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001466/0.479, allocations: 1.7 MB / 0.5077 GB, free: 12.85 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009592/0.4799, allocations: 0.8831 MB / 0.5086 GB, free: 11.96 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008523/0.4808, allocations: 412.7 kB / 0.5089 GB, free: 11.55 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4809, allocations: 301.1 kB / 0.5092 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002482/0.4834, allocations: 1.348 MB / 0.5105 GB, free: 9.898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002666/0.4861, allocations: 1.65 MB / 0.5122 GB, free: 8.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/0.4913, allocations: 3.083 MB / 0.5152 GB, free: 4.941 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.4913, allocations: 4 kB / 0.5152 GB, free: 4.938 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.009003/0.5003, allocations: 4.396 MB / 0.5195 GB, free: 472 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.5003, allocations: 8 kB / 0.5195 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/0.5004, allocations: 8 kB / 0.5195 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005726/0.5061, allocations: 1.647 MB / 0.5211 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.5078, allocations: 387.5 kB / 0.5215 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2456/0.7534, allocations: 24.26 MB / 0.5452 GB, free: 98.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/0.7556, allocations: 90.84 kB / 0.5452 GB, free: 98.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002402/0.7559, allocations: 77.06 kB / 0.5453 GB, free: 98 MB / 446.1 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.00305/0.7589, allocations: 1.406 MB / 0.5467 GB, free: 97.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.7599, allocations: 273.1 kB / 0.5469 GB, free: 97.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/0.7665, allocations: 4.318 MB / 0.5512 GB, free: 95.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.7665, allocations: 24.97 kB / 0.5512 GB, free: 95.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.7665, allocations: 6.969 kB / 0.5512 GB, free: 95.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.998e-05/0.7666, allocations: 15.05 kB / 0.5512 GB, free: 95.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.7785, allocations: 7.762 MB / 0.5588 GB, free: 90.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.866e-06/0.7785, allocations: 0 / 0.5588 GB, free: 90.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.7795, allocations: 294.2 kB / 0.5591 GB, free: 90.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004236/0.7838, allocations: 1.604 MB / 0.5606 GB, free: 88.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.7839, allocations: 67.97 kB / 0.5607 GB, free: 88.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/0.802, allocations: 24.01 MB / 0.5841 GB, free: 63.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.802, allocations: 3.984 kB / 0.5842 GB, free: 63.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007539/0.8096, allocations: 6.028 MB / 0.59 GB, free: 57.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/0.8113, allocations: 0.5833 MB / 0.5906 GB, free: 57.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003762/0.8117, allocations: 55.92 kB / 0.5907 GB, free: 57.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.8129, allocations: 131.8 kB / 0.5908 GB, free: 57.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004986/0.8134, allocations: 221.5 kB / 0.591 GB, free: 56.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001303/0.8136, allocations: 71.98 kB / 0.5911 GB, free: 56.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.8155, allocations: 1.519 MB / 0.5926 GB, free: 55.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8155, allocations: 0 / 0.5926 GB, free: 55.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00347/0.819, allocations: 0.9472 MB / 0.5935 GB, free: 54.29 MB / 446.1 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.0005556/0.8195, allocations: 254 kB / 0.5937 GB, free: 54.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005715/0.8253, allocations: 4.767 MB / 0.5984 GB, free: 49.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.8253, allocations: 7.75 kB / 0.5984 GB, free: 49.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.8289, allocations: 3.261 MB / 0.6016 GB, free: 45.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003377/0.8323, allocations: 0.7293 MB / 0.6023 GB, free: 45.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/0.8465, allocations: 8.598 MB / 0.6107 GB, free: 36.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002811/0.8493, allocations: 2.631 MB / 0.6132 GB, free: 33.76 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001651/0.8509, allocations: 0.5173 MB / 0.6138 GB, free: 33.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.8514, allocations: 151.4 kB / 0.6139 GB, free: 33.09 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.8514, allocations: 0 / 0.6139 GB, free: 33.09 MB / 446.1 MB Notification: Performance of Templates: time 0.09116/0.9425, allocations: 57.17 MB / 0.6697 GB, free: 8.68 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.47398516535759]