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.001813/0.001813, allocations: 107.1 kB / 20.44 MB, free: 1.172 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.002428/0.002428, allocations: 206.8 kB / 23.73 MB, free: 4.379 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001542/0.001542, allocations: 51.91 kB / 378.2 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2887, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008923/0.2976, allocations: 6.155 MB / 437.7 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00451/0.3021, allocations: 2.22 MB / 440 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005489/0.3026, allocations: 55.62 kB / 440 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.3037, allocations: 456.9 kB / 440.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.3054, allocations: 0.6954 MB / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.3059, allocations: 283.6 kB / 441.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003111/0.3091, allocations: 2.848 MB / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001834/0.3109, allocations: 1.367 MB / 445.6 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.3135, allocations: 1.358 MB / 447 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.3159, allocations: 1.576 MB / 448.6 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.3163, allocations: 348 kB / 448.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007678/0.3171, allocations: 439.8 kB / 449.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008953/0.318, allocations: 0.9037 MB / 450.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.3196, allocations: 1.245 MB / 451.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00535/0.3249, allocations: 4.664 MB / 456.2 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3249, allocations: 4 kB / 456.2 MB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3249, allocations: 0 / 456.2 MB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.346e-05/0.325, allocations: 0 / 456.2 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.00673/0.3317, allocations: 2.963 MB / 459.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.3318, allocations: 12.03 kB / 459.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3329, allocations: 355.1 kB / 459.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003337/0.3363, allocations: 1.615 MB / 461.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.3364, allocations: 160.4 kB / 461.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/0.3368, allocations: 224 kB / 461.5 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005473/0.3422, allocations: 3.354 MB / 464.8 MB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.405e-05/0.3423, allocations: 3.938 kB / 464.8 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.3425, allocations: 95.98 kB / 464.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/0.3426, allocations: 108.4 kB / 465 MB, free: 4.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.3471, allocations: 2.73 MB / 467.8 MB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.361, allocations: 7.605 MB / 475.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.3641, allocations: 1.919 MB / 477.3 MB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.3661, allocations: 1.242 MB / 478.5 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002439/0.3663, allocations: 49.28 kB / 478.6 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.84e-05/0.3664, allocations: 59.69 kB / 478.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 4.338e-06/0.3664, allocations: 0 / 478.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01137/0.3778, allocations: 5.287 MB / 483.9 MB, free: 1.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/0.3779, allocations: 68.7 kB / 484 MB, free: 1.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002086/0.3799, allocations: 1.278 MB / 485.3 MB, free: 452 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.38, allocations: 49.7 kB / 485.3 MB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/0.3808, allocations: 0.9773 MB / 486.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004223/0.3813, allocations: 468 kB / 486.8 MB, free: 14.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.3817, allocations: 214.9 kB / 487 MB, free: 14.72 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.3819, allocations: 361.9 kB / 487.3 MB, free: 14.36 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001152/0.383, allocations: 0.6896 MB / 488 MB, free: 13.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/0.3843, allocations: 0.8668 MB / 488.9 MB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002421/0.3867, allocations: 1.604 MB / 490.5 MB, free: 11.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.3867, allocations: 0 / 490.5 MB, free: 11.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004075/0.3908, allocations: 2.275 MB / 492.8 MB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3908, allocations: 11.94 kB / 492.8 MB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.3908, allocations: 8.031 kB / 492.8 MB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002969/0.3938, allocations: 0.8188 MB / 493.6 MB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.3946, allocations: 195.8 kB / 493.8 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/0.408, allocations: 10.88 MB / 0.4928 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.4092, allocations: 44.03 kB / 0.4929 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.4093, allocations: 47.94 kB / 0.4929 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.001585/0.4109, allocations: 0.8184 MB / 0.4937 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.4112, allocations: 155 kB / 0.4939 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004009/0.4152, allocations: 2.236 MB / 0.4961 GB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4152, allocations: 15.94 kB / 0.4961 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4152, allocations: 4 kB / 0.4961 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/0.4152, allocations: 7.969 kB / 0.4961 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00771/0.4229, allocations: 4.157 MB / 0.5001 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.82e-06/0.4229, allocations: 0 / 0.5001 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.4237, allocations: 163.8 kB / 0.5003 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/0.4265, allocations: 0.8076 MB / 0.5011 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-05/0.4266, allocations: 28 kB / 0.5011 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/0.4397, allocations: 10.75 MB / 0.5116 GB, free: 8.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/0.4397, allocations: 11.86 kB / 0.5116 GB, free: 8.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/0.4456, allocations: 3.2 MB / 0.5148 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/0.4467, allocations: 318.9 kB / 0.5151 GB, free: 5.164 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001903/0.4469, allocations: 31.98 kB / 0.5151 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007631/0.4477, allocations: 59.95 kB / 0.5151 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003394/0.448, allocations: 129 kB / 0.5153 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.319e-05/0.4481, allocations: 39.98 kB / 0.5153 GB, free: 4.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001627/0.4498, allocations: 0.8993 MB / 0.5162 GB, free: 4 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4498, allocations: 0 / 0.5162 GB, free: 4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002137/0.4519, allocations: 0.5078 MB / 0.5167 GB, free: 3.492 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.0005811/0.4525, allocations: 206.2 kB / 0.5169 GB, free: 3.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003967/0.4564, allocations: 2.35 MB / 0.5192 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.4564, allocations: 4.234 kB / 0.5192 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.459, allocations: 1.593 MB / 0.5207 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.4611, allocations: 399.9 kB / 0.5211 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.4713, allocations: 4.688 MB / 0.5257 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002469/0.4737, allocations: 1.474 MB / 0.5271 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001013/0.4748, allocations: 283.8 kB / 0.5274 GB, free: 8.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.4751, allocations: 87.44 kB / 0.5275 GB, free: 8.227 MB / 446.1 MB Notification: Performance of SimCode: time 1.203e-06/0.4751, allocations: 0 / 0.5275 GB, free: 8.227 MB / 446.1 MB Notification: Performance of Templates: time 0.2673/0.7424, allocations: 32.32 MB / 0.559 GB, free: 86.44 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: 5.9868763093836606]