Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001412/0.001412, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001546/0.001546, allocations: 163.4 kB / 24.71 MB, free: 3.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 158.6 MB / 186.5 MB, free: 6.383 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 299 MB, free: 8.789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.346e-05, allocations: 6.281 kB / 299 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01216/0.01219, allocations: 9.315 MB / 308.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007079/0.01926, allocations: 3.171 MB / 311.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.02085, allocations: 95.25 kB / 311.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.02262, allocations: 0.737 MB / 312.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003223/0.02584, allocations: 1.215 MB / 313.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.02689, allocations: 0.4954 MB / 314 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006336/0.03323, allocations: 5.472 MB / 319.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/0.03638, allocations: 2.238 MB / 321.7 MB, free: 1.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1654/0.2017, allocations: 3.523 MB / 325.2 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.2072, allocations: 2.5 MB / 327.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.2087, allocations: 0.6212 MB / 328.4 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.2111, allocations: 0.7014 MB / 329.1 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001972/0.213, allocations: 1.698 MB / 330.8 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004675/0.2177, allocations: 1.929 MB / 332.7 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009836/0.2275, allocations: 8.553 MB / 341.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2275, allocations: 0 / 341.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2275, allocations: 0 / 341.2 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00024/0.2278, allocations: 3.5 kB / 341.2 MB, free: 13.6 MB / 302.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.011/0.2388, allocations: 5.075 MB / 346.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2388, allocations: 13.98 kB / 346.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.2402, allocations: 0.5713 MB / 346.9 MB, free: 9.988 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.2443, allocations: 2.593 MB / 349.5 MB, free: 8.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.2444, allocations: 296.3 kB / 349.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/0.2449, allocations: 386.8 kB / 350.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008836/0.2538, allocations: 6.119 MB / 356.3 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.615e-05/0.2538, allocations: 7.469 kB / 356.3 MB, free: 3.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003536/0.2542, allocations: 165.7 kB / 356.5 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001475/0.2543, allocations: 208 kB / 356.7 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007606/0.2619, allocations: 5.002 MB / 361.7 MB, free: 14.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.2879, allocations: 14.13 MB / 375.8 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00599/0.2939, allocations: 3.906 MB / 379.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003889/0.2978, allocations: 2.452 MB / 382.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003103/0.2981, allocations: 68.58 kB / 382.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.2982, allocations: 56.56 kB / 382.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 5.43e-06/0.2982, allocations: 0 / 382.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.0219/0.3201, allocations: 10.01 MB / 392.3 MB, free: 204 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.3201, allocations: 77.42 kB / 392.3 MB, free: 112 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003779/0.3239, allocations: 2.194 MB / 394.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/0.3242, allocations: 69.7 kB / 394.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001502/0.3257, allocations: 1.699 MB / 396.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008803/0.3265, allocations: 0.8689 MB / 397.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007345/0.3273, allocations: 416.7 kB / 397.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3274, allocations: 309.1 kB / 397.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/0.3295, allocations: 1.332 MB / 399.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/0.332, allocations: 1.65 MB / 400.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004956/0.337, allocations: 3.087 MB / 404 MB, free: 4.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.337, allocations: 0 / 404 MB, free: 4.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00827/0.3453, allocations: 4.388 MB / 408.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/0.3453, allocations: 11.98 kB / 408.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.3453, allocations: 4 kB / 408.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005963/0.3513, allocations: 1.645 MB / 410 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/0.353, allocations: 388.6 kB / 410.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02999/0.383, allocations: 24.22 MB / 434.6 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.3853, allocations: 102.1 kB / 434.7 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004206/0.3857, allocations: 80.12 kB / 434.8 MB, free: 4.566 MB / 382.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.003222/0.3889, allocations: 1.412 MB / 436.2 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.3898, allocations: 274.3 kB / 436.5 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00819/0.398, allocations: 4.307 MB / 440.8 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.398, allocations: 24 kB / 440.8 MB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/0.398, allocations: 12 kB / 440.8 MB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/0.398, allocations: 11.95 kB / 440.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.4135, allocations: 7.764 MB / 448.6 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.4135, allocations: 4.062 kB / 448.6 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.4148, allocations: 286.3 kB / 448.9 MB, free: 6.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005364/0.4201, allocations: 1.622 MB / 450.5 MB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002015/0.4203, allocations: 59.98 kB / 450.5 MB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02822/0.4486, allocations: 24.01 MB / 474.6 MB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4486, allocations: 0 / 474.6 MB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.4605, allocations: 6.026 MB / 480.6 MB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.4625, allocations: 0.5821 MB / 481.2 MB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008639/0.4633, allocations: 51.98 kB / 481.2 MB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/0.4652, allocations: 119.9 kB / 481.3 MB, free: 5.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006382/0.4658, allocations: 231.5 kB / 481.6 MB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/0.466, allocations: 68 kB / 481.6 MB, free: 4.777 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003278/0.4693, allocations: 1.527 MB / 483.2 MB, free: 3.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4693, allocations: 0 / 483.2 MB, free: 3.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004753/0.4741, allocations: 0.9492 MB / 484.1 MB, free: 2.281 MB / 430.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.0007513/0.4748, allocations: 259.3 kB / 484.4 MB, free: 2.039 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.1602/0.6351, allocations: 4.751 MB / 489.1 MB, free: 140.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.6351, allocations: 3.844 kB / 489.1 MB, free: 140.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/0.6397, allocations: 3.272 MB / 492.4 MB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.644, allocations: 0.7301 MB / 493.1 MB, free: 139.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/0.6602, allocations: 8.406 MB / 0.4898 GB, free: 136.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002844/0.6631, allocations: 2.635 MB / 0.4923 GB, free: 136 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001828/0.6649, allocations: 0.51 MB / 0.4928 GB, free: 135.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.6654, allocations: 154.4 kB / 0.493 GB, free: 135.9 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.6654, allocations: 4 kB / 0.493 GB, free: 135.9 MB / 430.1 MB Notification: Performance of Templates: time 0.07551/0.7409, allocations: 52.05 MB / 0.5438 GB, free: 88.7 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.074583098292351]