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.001929/0.001929, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002517/0.002517, allocations: 208.3 kB / 20.75 MB, free: 2.293 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.553/1.553, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.001625/0.001625, allocations: 47.92 kB / 373.5 MB, free: 9.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09872, allocations: 53.33 MB / 426.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.207/0.3057, allocations: 6.925 MB / 433.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.3096, allocations: 2.332 MB / 436.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005904/0.3102, allocations: 63.03 kB / 436.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009655/0.3111, allocations: 466.6 kB / 436.6 MB, free: 6.621 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001462/0.3126, allocations: 0.6803 MB / 437.3 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.3131, allocations: 279.4 kB / 437.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002553/0.3156, allocations: 2.837 MB / 440.4 MB, free: 4.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.3177, allocations: 1.867 MB / 442.2 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.3205, allocations: 1.356 MB / 443.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002326/0.3228, allocations: 1.57 MB / 445.2 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005191/0.3234, allocations: 349 kB / 445.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000917/0.3243, allocations: 442.9 kB / 445.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007565/0.325, allocations: 0.9021 MB / 446.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001518/0.3265, allocations: 1.533 MB / 448.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004823/0.3314, allocations: 4.64 MB / 453 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3314, allocations: 4 kB / 453 MB, free: 15.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3314, allocations: 3.938 kB / 453 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.507e-05/0.3315, allocations: 1.219 kB / 453 MB, free: 15.34 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.006723/0.3382, allocations: 3.039 MB / 456.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3382, allocations: 10.62 kB / 456.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.3394, allocations: 349.2 kB / 456.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003102/0.3425, allocations: 1.676 MB / 458.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.3427, allocations: 163.1 kB / 458.2 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.343, allocations: 214.8 kB / 458.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005821/0.3489, allocations: 3.179 MB / 461.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.064e-05/0.3489, allocations: 1.281 kB / 461.6 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/0.3491, allocations: 94.89 kB / 461.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/0.3493, allocations: 109.2 kB / 461.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/0.354, allocations: 2.733 MB / 464.6 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0149/0.3689, allocations: 8.779 MB / 473.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003896/0.3728, allocations: 3.286 MB / 476.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/0.3749, allocations: 1.246 MB / 477.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/0.3752, allocations: 118.4 kB / 478 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.922e-05/0.3752, allocations: 51.81 kB / 478 MB, free: 12.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.056e-06/0.3752, allocations: 0 / 478 MB, free: 12.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01312/0.3884, allocations: 5.766 MB / 483.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.3884, allocations: 64.72 kB / 483.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.3911, allocations: 1.499 MB / 485.4 MB, free: 5.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.3913, allocations: 49.7 kB / 485.4 MB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008567/0.3922, allocations: 0.9628 MB / 486.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005495/0.3927, allocations: 464 kB / 486.8 MB, free: 3.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/0.3932, allocations: 222.9 kB / 487.1 MB, free: 3.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.3934, allocations: 357.9 kB / 487.4 MB, free: 3.012 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.3946, allocations: 0.7012 MB / 488.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/0.396, allocations: 0.859 MB / 489 MB, free: 1.402 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0028/0.3988, allocations: 1.601 MB / 490.6 MB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3988, allocations: 0 / 490.6 MB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004473/0.4033, allocations: 2.299 MB / 492.9 MB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.4033, allocations: 8 kB / 492.9 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.4033, allocations: 8.031 kB / 492.9 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.4064, allocations: 0.8193 MB / 493.7 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.4073, allocations: 207.7 kB / 493.9 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/0.4219, allocations: 11.49 MB / 0.4935 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.4232, allocations: 55.89 kB / 0.4936 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.4233, allocations: 44.06 kB / 0.4936 GB, free: 260 kB / 398.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.001499/0.4248, allocations: 0.8202 MB / 0.4944 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.4251, allocations: 171 kB / 0.4946 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.4295, allocations: 2.257 MB / 0.4968 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4295, allocations: 12 kB / 0.4968 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4295, allocations: 4 kB / 0.4968 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.4295, allocations: 8.156 kB / 0.4968 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008479/0.438, allocations: 4.695 MB / 0.5014 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.438, allocations: 0 / 0.5014 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006982/0.4387, allocations: 155.8 kB / 0.5016 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.4414, allocations: 0.8177 MB / 0.5024 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/0.4415, allocations: 31.98 kB / 0.5024 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.4549, allocations: 11.38 MB / 0.5135 GB, free: 11.21 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4549, allocations: 3.938 kB / 0.5135 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005537/0.4605, allocations: 3.213 MB / 0.5167 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.4616, allocations: 412 kB / 0.517 GB, free: 7.523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.4618, allocations: 28 kB / 0.5171 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.4626, allocations: 67.94 kB / 0.5171 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003085/0.4629, allocations: 121 kB / 0.5173 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.651e-05/0.463, allocations: 32 kB / 0.5173 GB, free: 7.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.4646, allocations: 1.064 MB / 0.5183 GB, free: 6.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4646, allocations: 4 kB / 0.5183 GB, free: 6.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001922/0.4666, allocations: 0.5194 MB / 0.5188 GB, free: 5.691 MB / 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.0005136/0.4671, allocations: 211.2 kB / 0.519 GB, free: 5.484 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003928/0.471, allocations: 2.354 MB / 0.5213 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.471, allocations: 0 / 0.5213 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002615/0.4736, allocations: 1.581 MB / 0.5229 GB, free: 1.445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.4759, allocations: 0.5026 MB / 0.5234 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008237/0.4842, allocations: 4.711 MB / 0.528 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/0.4862, allocations: 2.039 MB / 0.53 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009305/0.4871, allocations: 309.5 kB / 0.5303 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002925/0.4874, allocations: 99.42 kB / 0.5304 GB, free: 9.715 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4874, allocations: 0 / 0.5304 GB, free: 9.715 MB / 446.1 MB Notification: Performance of Templates: time 0.06288/0.5503, allocations: 33.31 MB / 0.5629 GB, free: 8.738 MB / 478.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: 5.915560707449913]