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.001807/0.001807, allocations: 107 kB / 21.18 MB, free: 0.5234 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.002137/0.002137, allocations: 205.2 kB / 24.47 MB, free: 3.695 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.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001613/0.001613, allocations: 47.91 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2191, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008179/0.2273, allocations: 6.152 MB / 438.5 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003843/0.2311, allocations: 2.224 MB / 440.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.2316, allocations: 63.56 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009849/0.2326, allocations: 453 kB / 441.2 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.234, allocations: 0.6992 MB / 441.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000479/0.2345, allocations: 287.7 kB / 442.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002731/0.2372, allocations: 2.836 MB / 445 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.239, allocations: 1.375 MB / 446.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.2411, allocations: 1.35 MB / 447.8 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.243, allocations: 1.568 MB / 449.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004565/0.2434, allocations: 356 kB / 449.7 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007477/0.2442, allocations: 439.8 kB / 450.1 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008271/0.245, allocations: 0.8999 MB / 451 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001363/0.2463, allocations: 1.237 MB / 452.2 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.251, allocations: 4.668 MB / 456.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.251, allocations: 3.938 kB / 456.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.251, allocations: 0 / 456.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.002e-05/0.251, allocations: 4 kB / 456.9 MB, free: 14 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.005564/0.2566, allocations: 2.956 MB / 459.9 MB, free: 11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2566, allocations: 19.97 kB / 459.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.2576, allocations: 347.1 kB / 460.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003153/0.2608, allocations: 1.619 MB / 461.8 MB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/0.2609, allocations: 168.4 kB / 462 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003493/0.2613, allocations: 216 kB / 462.2 MB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005406/0.2667, allocations: 3.358 MB / 465.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-05/0.2667, allocations: 4 kB / 465.6 MB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.267, allocations: 87.98 kB / 465.7 MB, free: 5.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001305/0.2671, allocations: 116.4 kB / 465.8 MB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004497/0.2716, allocations: 2.719 MB / 468.5 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01341/0.285, allocations: 7.609 MB / 476.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/0.288, allocations: 1.935 MB / 478 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.29, allocations: 1.238 MB / 479.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.2902, allocations: 49.28 kB / 479.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.2902, allocations: 47.81 kB / 479.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.166e-06/0.2902, allocations: 0 / 479.4 MB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01084/0.3011, allocations: 5.29 MB / 484.7 MB, free: 1.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.3011, allocations: 64.72 kB / 484.7 MB, free: 1.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/0.3029, allocations: 1.278 MB / 486 MB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.896e-05/0.303, allocations: 45.7 kB / 486.1 MB, free: 416 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007502/0.3038, allocations: 0.9891 MB / 487 MB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003871/0.3042, allocations: 456 kB / 487.5 MB, free: 14.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.3045, allocations: 222.9 kB / 487.7 MB, free: 14.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3047, allocations: 357.9 kB / 488.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.3058, allocations: 0.6896 MB / 488.7 MB, free: 13.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.3071, allocations: 0.8668 MB / 489.6 MB, free: 12.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/0.3095, allocations: 1.597 MB / 491.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3095, allocations: 4 kB / 491.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004139/0.3137, allocations: 2.283 MB / 493.5 MB, free: 8.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3137, allocations: 4 kB / 493.5 MB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3137, allocations: 8 kB / 493.5 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/0.3167, allocations: 0.8189 MB / 494.3 MB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008813/0.3176, allocations: 207.7 kB / 494.5 MB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/0.3309, allocations: 10.88 MB / 0.4936 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000908/0.3318, allocations: 47.95 kB / 0.4936 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.152e-05/0.3319, allocations: 44 kB / 0.4937 GB, free: 12.39 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.001305/0.3332, allocations: 0.8118 MB / 0.4944 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.3334, allocations: 155.2 kB / 0.4946 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.3375, allocations: 2.236 MB / 0.4968 GB, free: 9.156 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.3375, allocations: 27.91 kB / 0.4968 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3375, allocations: 4 kB / 0.4968 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3375, allocations: 7.984 kB / 0.4968 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00763/0.3451, allocations: 4.153 MB / 0.5009 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3451, allocations: 0 / 0.5009 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/0.3459, allocations: 159.7 kB / 0.501 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/0.3487, allocations: 0.8 MB / 0.5018 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.772e-05/0.3488, allocations: 35.98 kB / 0.5018 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.3616, allocations: 10.76 MB / 0.5123 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3616, allocations: 7.969 kB / 0.5124 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005263/0.3668, allocations: 3.192 MB / 0.5155 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009216/0.3677, allocations: 322.9 kB / 0.5158 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.3679, allocations: 28 kB / 0.5158 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.3687, allocations: 67.94 kB / 0.5159 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.369, allocations: 125 kB / 0.516 GB, free: 4.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-05/0.3691, allocations: 36 kB / 0.516 GB, free: 4.918 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001347/0.3704, allocations: 0.8993 MB / 0.5169 GB, free: 4.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3704, allocations: 0 / 0.5169 GB, free: 4.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001707/0.3721, allocations: 0.5117 MB / 0.5174 GB, free: 3.5 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.0004952/0.3726, allocations: 215.7 kB / 0.5176 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003849/0.3765, allocations: 2.35 MB / 0.5199 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3765, allocations: 3.938 kB / 0.5199 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002517/0.379, allocations: 1.582 MB / 0.5215 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.3807, allocations: 398.1 kB / 0.5218 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/0.3887, allocations: 4.699 MB / 0.5264 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/0.3905, allocations: 1.47 MB / 0.5279 GB, free: 8.605 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007655/0.3912, allocations: 283.8 kB / 0.5281 GB, free: 8.324 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.3915, allocations: 87.42 kB / 0.5282 GB, free: 8.238 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3915, allocations: 8 kB / 0.5282 GB, free: 8.23 MB / 446.1 MB Notification: Performance of Templates: time 0.2132/0.6047, allocations: 32.32 MB / 0.5598 GB, free: 86.45 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/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.558709111995995]