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.001975/0.001975, allocations: 115.6 kB / 20.43 MB, free: 1.309 MB / 14.72 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.002642/0.002642, allocations: 215 kB / 23.74 MB, free: 4.535 MB / 14.72 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 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 0.00161/0.00161, allocations: 51.91 kB / 378.3 MB, free: 2.602 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2835, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009075/0.2926, allocations: 6.946 MB / 438.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004907/0.2975, allocations: 2.348 MB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.2982, allocations: 59.62 kB / 441 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2993, allocations: 468.9 kB / 441.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.301, allocations: 0.6993 MB / 442.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.3016, allocations: 287.6 kB / 442.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003785/0.3054, allocations: 2.844 MB / 445.3 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.3073, allocations: 1.367 MB / 446.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.31, allocations: 1.343 MB / 448 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.3121, allocations: 1.58 MB / 449.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.3125, allocations: 348 kB / 449.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.3133, allocations: 443.8 kB / 450.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008221/0.3141, allocations: 0.9076 MB / 451.2 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.3159, allocations: 1.533 MB / 452.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005197/0.3211, allocations: 4.642 MB / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3211, allocations: 0 / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3211, allocations: 0 / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.3212, allocations: 0 / 457.4 MB, free: 13 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.008274/0.3295, allocations: 2.971 MB / 460.4 MB, free: 9.977 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3295, allocations: 8.031 kB / 460.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.3308, allocations: 347.1 kB / 460.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003397/0.3342, allocations: 1.627 MB / 462.4 MB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3343, allocations: 160.4 kB / 462.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003354/0.3347, allocations: 216 kB / 462.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005654/0.3403, allocations: 3.178 MB / 465.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/0.3403, allocations: 0 / 465.9 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.3406, allocations: 92 kB / 466 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/0.3407, allocations: 108.4 kB / 466.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004713/0.3454, allocations: 2.73 MB / 468.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01485/0.3603, allocations: 8.703 MB / 477.5 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002964/0.3632, allocations: 1.935 MB / 479.5 MB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.3652, allocations: 1.23 MB / 480.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/0.3655, allocations: 57.2 kB / 480.8 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.3655, allocations: 51.81 kB / 480.8 MB, free: 5.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 5.31e-06/0.3655, allocations: 3.984 kB / 480.8 MB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0111/0.3766, allocations: 5.306 MB / 486.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3767, allocations: 68.66 kB / 486.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.3789, allocations: 1.499 MB / 487.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/0.379, allocations: 45.7 kB / 487.7 MB, free: 14.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000785/0.3798, allocations: 0.9666 MB / 488.7 MB, free: 13.28 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/0.3802, allocations: 468 kB / 489.1 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003586/0.3805, allocations: 218.9 kB / 489.4 MB, free: 12.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3807, allocations: 353.9 kB / 489.7 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.3819, allocations: 0.6974 MB / 490.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.3833, allocations: 0.859 MB / 491.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.3856, allocations: 1.604 MB / 492.9 MB, free: 8.984 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/0.3856, allocations: 3.938 kB / 492.9 MB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004194/0.3898, allocations: 2.295 MB / 495.2 MB, free: 6.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3899, allocations: 4 kB / 495.2 MB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3899, allocations: 7.938 kB / 495.2 MB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002967/0.3928, allocations: 0.8228 MB / 496 MB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008804/0.3937, allocations: 203.7 kB / 496.2 MB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/0.4075, allocations: 11.08 MB / 0.4954 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.4089, allocations: 51.95 kB / 0.4954 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.409, allocations: 36 kB / 0.4955 GB, free: 10 MB / 414.1 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.001769/0.4108, allocations: 0.8281 MB / 0.4963 GB, free: 9.168 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/0.4112, allocations: 175 kB / 0.4965 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/0.4155, allocations: 2.249 MB / 0.4986 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.4155, allocations: 12 kB / 0.4987 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4155, allocations: 4 kB / 0.4987 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.4155, allocations: 7.969 kB / 0.4987 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008771/0.4243, allocations: 4.679 MB / 0.5032 GB, free: 1.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4243, allocations: 4 kB / 0.5032 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007147/0.425, allocations: 159.8 kB / 0.5034 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.4277, allocations: 0.8155 MB / 0.5042 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.957e-05/0.4278, allocations: 27.98 kB / 0.5042 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/0.441, allocations: 10.96 MB / 0.5149 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.441, allocations: 3.938 kB / 0.5149 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.4465, allocations: 3.224 MB / 0.5181 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.4477, allocations: 338.9 kB / 0.5184 GB, free: 1.887 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002272/0.448, allocations: 31.98 kB / 0.5184 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000781/0.4487, allocations: 67.94 kB / 0.5185 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.4491, allocations: 121.5 kB / 0.5186 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.91e-05/0.4491, allocations: 36 kB / 0.5186 GB, free: 1.633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.4508, allocations: 1.064 MB / 0.5197 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4508, allocations: 0 / 0.5197 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001857/0.4526, allocations: 0.5117 MB / 0.5202 GB, free: 56 kB / 430.1 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.0005558/0.4532, allocations: 219.8 kB / 0.5204 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.4572, allocations: 2.346 MB / 0.5227 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/0.4572, allocations: 4 kB / 0.5227 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002568/0.4598, allocations: 1.586 MB / 0.5242 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.462, allocations: 0.5101 MB / 0.5247 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008405/0.4704, allocations: 4.73 MB / 0.5294 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002012/0.4725, allocations: 2.043 MB / 0.5314 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001007/0.4735, allocations: 313.5 kB / 0.5317 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003068/0.4738, allocations: 103.4 kB / 0.5318 GB, free: 4.027 MB / 446.1 MB Notification: Performance of SimCode: time 9.71e-07/0.4738, allocations: 0 / 0.5318 GB, free: 4.027 MB / 446.1 MB Notification: Performance of Templates: time 0.2541/0.7278, allocations: 34.24 MB / 0.5652 GB, free: 79.87 MB / 446.1 MB " [Timeout remaining time 659] 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: 6.0318501179572195]