Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001788/0.001788, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00222/0.00222, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.627/1.627, allocations: 230.6 MB / 257.5 MB, free: 8.035 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 47.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3011, allocations: 53.36 MB / 431.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.013/0.3141, allocations: 10.81 MB / 442 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0068/0.3209, allocations: 3.252 MB / 445.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.3227, allocations: 111.2 kB / 445.3 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002038/0.3247, allocations: 0.7488 MB / 446.1 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.3283, allocations: 1.177 MB / 447.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.3296, allocations: 491.3 kB / 447.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006611/0.3362, allocations: 5.143 MB / 452.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.3399, allocations: 2.504 MB / 455.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004741/0.3447, allocations: 2.442 MB / 457.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005034/0.3497, allocations: 2.837 MB / 460.7 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.3514, allocations: 0.6211 MB / 461.3 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/0.3533, allocations: 0.7147 MB / 462 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.3551, allocations: 1.648 MB / 463.7 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004575/0.3597, allocations: 2.766 MB / 466.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3702, allocations: 8.452 MB / 474.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3702, allocations: 4 kB / 474.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3702, allocations: 0 / 474.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002566/0.3704, allocations: 0 / 474.9 MB, free: 10.95 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01265/0.3831, allocations: 5.159 MB / 480 MB, free: 5.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.3831, allocations: 8.031 kB / 480 MB, free: 5.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009443/0.3841, allocations: 0.5556 MB / 480.6 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.3859, allocations: 0.5993 MB / 481.2 MB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00629/0.3922, allocations: 2.834 MB / 484 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.3924, allocations: 295.8 kB / 484.3 MB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007047/0.3931, allocations: 388 kB / 484.7 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.4045, allocations: 5.805 MB / 490.5 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.056e-05/0.4045, allocations: 0 / 490.5 MB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004005/0.4049, allocations: 164 kB / 490.7 MB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002256/0.4052, allocations: 204 kB / 490.9 MB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4153, allocations: 5.024 MB / 495.9 MB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.447, allocations: 16.11 MB / 0.5 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006541/0.4535, allocations: 3.905 MB / 0.5038 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004175/0.4577, allocations: 2.442 MB / 0.5062 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003457/0.458, allocations: 61.95 kB / 0.5063 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.997e-05/0.4581, allocations: 60.56 kB / 0.5063 GB, free: 14.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 6.002e-06/0.4581, allocations: 0 / 0.5063 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02276/0.4809, allocations: 10.06 MB / 0.5161 GB, free: 4.789 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.4809, allocations: 77.42 kB / 0.5162 GB, free: 4.699 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005276/0.4862, allocations: 2.632 MB / 0.5188 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003263/0.4865, allocations: 73.7 kB / 0.5189 GB, free: 1.969 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.4881, allocations: 1.679 MB / 0.5205 GB, free: 280 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.4893, allocations: 0.8832 MB / 0.5214 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.4904, allocations: 416.7 kB / 0.5218 GB, free: 14.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4905, allocations: 304.9 kB / 0.522 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/0.493, allocations: 1.344 MB / 0.5234 GB, free: 13.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002803/0.4958, allocations: 1.647 MB / 0.525 GB, free: 11.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.5011, allocations: 3.079 MB / 0.528 GB, free: 8.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.5011, allocations: 0 / 0.528 GB, free: 8.375 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008904/0.51, allocations: 4.435 MB / 0.5323 GB, free: 3.859 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.51, allocations: 4 kB / 0.5323 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.5101, allocations: 8 kB / 0.5323 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005748/0.5158, allocations: 1.639 MB / 0.5339 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/0.5176, allocations: 391.5 kB / 0.5343 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2956/0.8131, allocations: 24.71 MB / 0.5584 GB, free: 81.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.8151, allocations: 90.09 kB / 0.5585 GB, free: 81.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.8153, allocations: 77.06 kB / 0.5586 GB, free: 81.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002085/0.8174, allocations: 1.414 MB / 0.56 GB, free: 80.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005571/0.8179, allocations: 311.2 kB / 0.5603 GB, free: 80.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005992/0.8239, allocations: 4.346 MB / 0.5645 GB, free: 78.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.8239, allocations: 22.97 kB / 0.5645 GB, free: 78.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-05/0.8239, allocations: 11.44 kB / 0.5645 GB, free: 78.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/0.824, allocations: 11.95 kB / 0.5645 GB, free: 78.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.8354, allocations: 8.751 MB / 0.5731 GB, free: 70.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.8354, allocations: 0 / 0.5731 GB, free: 70.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009798/0.8364, allocations: 287.6 kB / 0.5734 GB, free: 70.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004272/0.8407, allocations: 1.612 MB / 0.5749 GB, free: 68.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.8408, allocations: 63.98 kB / 0.575 GB, free: 68.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01761/0.8584, allocations: 24.46 MB / 0.5989 GB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8584, allocations: 0 / 0.5989 GB, free: 43.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007596/0.866, allocations: 6.068 MB / 0.6048 GB, free: 37.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/0.8676, allocations: 0.6326 MB / 0.6054 GB, free: 36.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.868, allocations: 51.98 kB / 0.6055 GB, free: 36.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.8692, allocations: 123.8 kB / 0.6056 GB, free: 36.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004505/0.8696, allocations: 229.5 kB / 0.6058 GB, free: 36.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.8697, allocations: 60 kB / 0.6059 GB, free: 36.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002066/0.8718, allocations: 1.856 MB / 0.6077 GB, free: 34.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8718, allocations: 4 kB / 0.6077 GB, free: 34.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002883/0.8747, allocations: 0.9479 MB / 0.6086 GB, free: 33.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007278/0.882, allocations: 6.79 MB / 0.6152 GB, free: 26.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005454/0.8874, allocations: 4.763 MB / 0.6199 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.8874, allocations: 4 kB / 0.6199 GB, free: 21.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003519/0.8909, allocations: 3.271 MB / 0.6231 GB, free: 18.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003331/0.8943, allocations: 0.9611 MB / 0.624 GB, free: 17.24 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04737/0.9416, allocations: 32.01 MB / 0.6553 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003746/0.9454, allocations: 3.173 MB / 0.6584 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001797/0.9472, allocations: 0.5831 MB / 0.659 GB, free: 12.99 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001996/0.9492, allocations: 1.468 MB / 0.6604 GB, free: 11.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.242e-06/0.9492, allocations: 0 / 0.6604 GB, free: 11.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4397/1.389, allocations: 93.97 MB / 0.7522 GB, free: 178.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/21.05, allocations: 0 / 0.7522 GB, free: 178.7 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 24.31791848107241]