Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001507/0.001507, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001631/0.001631, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.849e-05/4.01e-05, allocations: 6.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009828/0.009869, allocations: 6.161 MB / 278.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005223/0.01509, allocations: 2.231 MB / 280.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009715/0.01606, allocations: 59.62 kB / 280.8 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.01748, allocations: 460.9 kB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00214/0.01962, allocations: 0.718 MB / 281.9 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.02024, allocations: 283.6 kB / 282.2 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.02368, allocations: 2.944 MB / 285.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.02562, allocations: 1.332 MB / 286.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.02933, allocations: 1.99 MB / 288.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002156/0.03149, allocations: 1.387 MB / 289.9 MB, free: 164 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1131/0.1446, allocations: 354.3 kB / 290.2 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.1459, allocations: 429.7 kB / 290.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007966/0.1467, allocations: 0.9298 MB / 291.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.1482, allocations: 1.069 MB / 292.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00597/0.1542, allocations: 4.708 MB / 297.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1542, allocations: 0 / 297.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1542, allocations: 0 / 297.4 MB, free: 17.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001212/0.1543, allocations: 0 / 297.4 MB, free: 17.43 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006731/0.1611, allocations: 2.941 MB / 300.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.1611, allocations: 9.531 kB / 300.3 MB, free: 16.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.1624, allocations: 0.5235 MB / 300.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.1651, allocations: 1.677 MB / 302.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1652, allocations: 168.9 kB / 302.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003269/0.1655, allocations: 215.7 kB / 302.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.1704, allocations: 3.363 MB / 306.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/0.1704, allocations: 0 / 306.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.1706, allocations: 88.02 kB / 306.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.389e-05/0.1707, allocations: 116.1 kB / 306.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003474/0.1742, allocations: 2.72 MB / 309.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/0.1844, allocations: 7.739 MB / 316.9 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002157/0.1866, allocations: 1.921 MB / 318.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.1881, allocations: 1.234 MB / 320.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.1882, allocations: 57.28 kB / 320.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1883, allocations: 49.38 kB / 320.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=128): time 3.366e-06/0.1883, allocations: 0 / 320.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=132): time 0.01119/0.1995, allocations: 5.357 MB / 325.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.1995, allocations: 64.72 kB / 325.6 MB, free: 12.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.2018, allocations: 1.275 MB / 326.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.202, allocations: 49.7 kB / 326.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009515/0.2029, allocations: 0.9793 MB / 327.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000549/0.2035, allocations: 466 kB / 328.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005281/0.204, allocations: 210.9 kB / 328.5 MB, free: 9.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002414/0.2042, allocations: 361.9 kB / 328.9 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.2056, allocations: 0.6935 MB / 329.6 MB, free: 8.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.2071, allocations: 0.8665 MB / 330.5 MB, free: 7.184 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.2097, allocations: 1.596 MB / 332.1 MB, free: 5.555 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2098, allocations: 0 / 332.1 MB, free: 5.555 MB / 282.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005034/0.2148, allocations: 2.341 MB / 334.4 MB, free: 3.234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2148, allocations: 8.031 kB / 334.4 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2148, allocations: 7.938 kB / 334.4 MB, free: 3.219 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/0.2181, allocations: 0.847 MB / 335.3 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009262/0.219, allocations: 201.7 kB / 335.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/0.2341, allocations: 10.92 MB / 346.4 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/0.2353, allocations: 59.84 kB / 346.4 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.2355, allocations: 44.06 kB / 346.5 MB, free: 6.828 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.2372, allocations: 0.8124 MB / 347.3 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005443/0.2378, allocations: 199.1 kB / 347.5 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.2424, allocations: 2.24 MB / 349.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.2424, allocations: 16 kB / 349.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.2424, allocations: 4 kB / 349.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.2425, allocations: 7.156 kB / 349.8 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00877/0.2512, allocations: 4.157 MB / 353.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2512, allocations: 0 / 353.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.252, allocations: 163.3 kB / 354.1 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.255, allocations: 0.8379 MB / 354.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.2552, allocations: 35.98 kB / 354.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.2701, allocations: 10.81 MB / 365.7 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.2701, allocations: 4.031 kB / 365.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/0.2764, allocations: 3.252 MB / 369 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.2775, allocations: 321.3 kB / 369.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.2778, allocations: 28 kB / 369.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000803/0.2786, allocations: 67.94 kB / 369.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000367/0.279, allocations: 117.1 kB / 369.5 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.936e-05/0.279, allocations: 35.94 kB / 369.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002021/0.2811, allocations: 0.9032 MB / 370.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2811, allocations: 0 / 370.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002313/0.2834, allocations: 0.5117 MB / 371 MB, free: 13.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006448/0.284, allocations: 219.6 kB / 371.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004565/0.2886, allocations: 2.344 MB / 373.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.2886, allocations: 0 / 373.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002799/0.2914, allocations: 1.589 MB / 375.1 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.2937, allocations: 412.4 kB / 375.5 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/0.3033, allocations: 4.651 MB / 380.2 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002066/0.3053, allocations: 1.47 MB / 381.6 MB, free: 3.156 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001035/0.3064, allocations: 283.8 kB / 381.9 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.3067, allocations: 88.5 kB / 382 MB, free: 2.789 MB / 330.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3067, allocations: 0 / 382 MB, free: 2.789 MB / 330.7 MB Notification: Performance of Templates: time 0.05675/0.3634, allocations: 29.1 MB / 411.1 MB, free: 6.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 5.7388895329786465]