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.0008911/0.0008911, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004617/0.004617, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8706/0.8706, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.555e-05, allocations: 2.281 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007559/0.007585, allocations: 9.391 MB / 335.3 MB, free: 5.961 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.01367, allocations: 3.151 MB / 338.4 MB, free: 2.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/0.01565, allocations: 107.2 kB / 338.5 MB, free: 2.695 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.01736, allocations: 0.7332 MB / 339.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.02044, allocations: 1.222 MB / 340.5 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.02142, allocations: 483.3 kB / 340.9 MB, free: 256 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005059/0.02648, allocations: 5.332 MB / 346.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/0.02938, allocations: 2.441 MB / 348.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005654/0.03504, allocations: 3.538 MB / 352.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/0.03847, allocations: 2.513 MB / 354.8 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.03956, allocations: 0.6249 MB / 355.4 MB, free: 1.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.04095, allocations: 0.7069 MB / 356.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.04196, allocations: 1.698 MB / 357.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.04463, allocations: 1.937 MB / 359.7 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006764/0.0514, allocations: 8.566 MB / 368.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.05141, allocations: 0 / 368.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.05141, allocations: 0 / 368.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002203/0.05163, allocations: 0 / 368.3 MB, free: 4.762 MB / 330.7 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.008685/0.06031, allocations: 5.11 MB / 373.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.06036, allocations: 8.031 kB / 373.4 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.06187, allocations: 0.5954 MB / 374 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004119/0.06599, allocations: 2.833 MB / 376.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.06615, allocations: 293.9 kB / 377.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006246/0.06677, allocations: 387.9 kB / 377.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007899/0.07467, allocations: 6.123 MB / 383.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.246e-05/0.07473, allocations: 3.938 kB / 383.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/0.07498, allocations: 168 kB / 383.8 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.07511, allocations: 215.9 kB / 384 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006927/0.08204, allocations: 5.012 MB / 389 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01945/0.1015, allocations: 14.12 MB / 403.1 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003896/0.1054, allocations: 3.904 MB / 407 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002379/0.1078, allocations: 2.451 MB / 409.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004525/0.1082, allocations: 61.95 kB / 409.6 MB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/0.1083, allocations: 64.5 kB / 409.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=249): time 6.082e-06/0.1083, allocations: 0 / 409.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=256): time 0.01335/0.1216, allocations: 9.998 MB / 419.6 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1217, allocations: 81.36 kB / 419.7 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00249/0.1241, allocations: 2.204 MB / 421.9 MB, free: 14.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000269/0.1244, allocations: 69.7 kB / 422 MB, free: 14.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008001/0.1252, allocations: 1.704 MB / 423.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008202/0.126, allocations: 0.8753 MB / 424.6 MB, free: 11.87 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.1264, allocations: 412.7 kB / 425 MB, free: 11.46 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.1265, allocations: 301.1 kB / 425.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.1278, allocations: 1.34 MB / 426.6 MB, free: 9.816 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.1293, allocations: 1.65 MB / 428.2 MB, free: 8.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/0.1324, allocations: 3.076 MB / 431.3 MB, free: 4.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.1324, allocations: 8 kB / 431.3 MB, free: 4.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00493/0.1374, allocations: 4.392 MB / 435.7 MB, free: 396 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.1374, allocations: 10.19 kB / 435.7 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.1374, allocations: 8 kB / 435.7 MB, free: 380 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002729/0.1401, allocations: 1.647 MB / 437.4 MB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.141, allocations: 387.5 kB / 437.8 MB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1493/0.2903, allocations: 24.23 MB / 462 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.2917, allocations: 100.2 kB / 462.1 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.2918, allocations: 80.88 kB / 462.2 MB, free: 103.9 MB / 410.7 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.001772/0.2936, allocations: 1.401 MB / 463.6 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.294, allocations: 281.6 kB / 463.8 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.298, allocations: 4.308 MB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.298, allocations: 22.09 kB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.298, allocations: 11.91 kB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.548e-05/0.298, allocations: 18.81 kB / 468.2 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008138/0.3061, allocations: 7.759 MB / 476 MB, free: 95.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3061, allocations: 2.344 kB / 476 MB, free: 95.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.3067, allocations: 294.6 kB / 476.3 MB, free: 95.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00227/0.309, allocations: 1.608 MB / 477.9 MB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001356/0.3091, allocations: 63.97 kB / 477.9 MB, free: 93.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01131/0.3204, allocations: 24 MB / 0.4902 GB, free: 68.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3204, allocations: 0 / 0.4902 GB, free: 68.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.3256, allocations: 6.03 MB / 0.4961 GB, free: 62.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.3268, allocations: 0.5819 MB / 0.4966 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.327, allocations: 56 kB / 0.4967 GB, free: 62.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006379/0.3276, allocations: 123.8 kB / 0.4968 GB, free: 61.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003457/0.3279, allocations: 221.6 kB / 0.497 GB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.328, allocations: 67.81 kB / 0.4971 GB, free: 61.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001363/0.3294, allocations: 1.531 MB / 0.4986 GB, free: 60.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.3294, allocations: 0 / 0.4986 GB, free: 60.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002497/0.3319, allocations: 0.9492 MB / 0.4995 GB, free: 59.21 MB / 410.7 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.0005349/0.3324, allocations: 258.3 kB / 0.4997 GB, free: 58.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004087/0.3365, allocations: 4.753 MB / 0.5044 GB, free: 54.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.3365, allocations: 4 kB / 0.5044 GB, free: 54.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.339, allocations: 3.262 MB / 0.5076 GB, free: 50.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.3412, allocations: 0.7395 MB / 0.5083 GB, free: 49.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008991/0.3502, allocations: 8.345 MB / 0.5164 GB, free: 41.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.3517, allocations: 2.56 MB / 0.5189 GB, free: 39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006055/0.3523, allocations: 164.5 kB / 0.5191 GB, free: 38.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.993e-06/0.3523, allocations: 0 / 0.5191 GB, free: 38.84 MB / 410.7 MB Notification: Performance of Templates: time 0.2817/0.634, allocations: 260 MB / 0.773 GB, free: 18.83 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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: 12.508340497501194]