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.001861/0.001861, allocations: 113.1 kB / 21.93 MB, free: 5.223 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.001971/0.001971, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.42/1.42, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 58.56 kB / 348.5 MB, free: 9.445 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2515, allocations: 49.15 MB / 397.6 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009505/0.261, allocations: 9.306 MB / 406.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.2677, allocations: 3.165 MB / 410.1 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.2698, allocations: 99.28 kB / 410.2 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001837/0.2716, allocations: 0.7261 MB / 410.9 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.2757, allocations: 1.18 MB / 412.1 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.2773, allocations: 0.5005 MB / 412.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007394/0.2847, allocations: 5.289 MB / 417.9 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003457/0.2881, allocations: 2.228 MB / 420.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005751/0.2939, allocations: 2.445 MB / 422.6 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006089/0.3, allocations: 2.775 MB / 425.3 MB, free: 7.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00194/0.3019, allocations: 0.6211 MB / 426 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.3047, allocations: 0.6951 MB / 426.7 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002173/0.3069, allocations: 1.644 MB / 428.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005524/0.3124, allocations: 2.245 MB / 430.5 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.3246, allocations: 8.481 MB / 439 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3246, allocations: 0 / 439 MB, free: 9.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3246, allocations: 0 / 439 MB, free: 9.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002703/0.3249, allocations: 0 / 439 MB, free: 9.52 MB / 350.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.01432/0.3392, allocations: 5.128 MB / 444.2 MB, free: 4.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3392, allocations: 11.98 kB / 444.2 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001702/0.3409, allocations: 0.572 MB / 444.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/0.3467, allocations: 2.592 MB / 447.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002697/0.347, allocations: 295.8 kB / 447.6 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009096/0.3479, allocations: 387.9 kB / 448 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01207/0.36, allocations: 6.119 MB / 454.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.746e-05/0.3601, allocations: 4 kB / 454.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.3605, allocations: 164 kB / 454.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002296/0.3607, allocations: 204 kB / 454.5 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00993/0.3706, allocations: 5.008 MB / 459.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02908/0.3997, allocations: 14.14 MB / 473.6 MB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006229/0.4059, allocations: 3.908 MB / 477.5 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/0.4099, allocations: 2.446 MB / 480 MB, free: 92 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.4101, allocations: 53.97 kB / 480 MB, free: 40 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.17e-05/0.4102, allocations: 64.61 kB / 480.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 5.11e-06/0.4102, allocations: 0 / 480.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.02024/0.4305, allocations: 9.995 MB / 490.1 MB, free: 5.887 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.4305, allocations: 81.36 kB / 490.2 MB, free: 5.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.434, allocations: 2.2 MB / 492.4 MB, free: 3.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.4342, allocations: 69.7 kB / 492.4 MB, free: 3.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001354/0.4356, allocations: 1.696 MB / 494.1 MB, free: 1.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008144/0.4364, allocations: 0.8831 MB / 495 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006833/0.4371, allocations: 416.6 kB / 495.4 MB, free: 476 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4372, allocations: 309.1 kB / 495.7 MB, free: 164 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.4394, allocations: 1.34 MB / 497.1 MB, free: 14.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002378/0.4418, allocations: 1.65 MB / 498.7 MB, free: 13.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004549/0.4463, allocations: 3.087 MB / 0.49 GB, free: 9.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.4463, allocations: 0 / 0.49 GB, free: 9.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007677/0.454, allocations: 4.392 MB / 0.4943 GB, free: 5.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.454, allocations: 11.94 kB / 0.4943 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.454, allocations: 4 kB / 0.4943 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005235/0.4593, allocations: 1.636 MB / 0.4959 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4609, allocations: 391.4 kB / 0.4963 GB, free: 3.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.028/0.4889, allocations: 24.24 MB / 0.52 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.4909, allocations: 103.8 kB / 0.5201 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.4911, allocations: 72.56 kB / 0.5202 GB, free: 9.898 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.00252/0.4937, allocations: 1.415 MB / 0.5215 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006982/0.4944, allocations: 274.4 kB / 0.5218 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007931/0.5023, allocations: 4.314 MB / 0.526 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.793e-05/0.5023, allocations: 27.94 kB / 0.526 GB, free: 3.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/0.5023, allocations: 8 kB / 0.526 GB, free: 3.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-05/0.5024, allocations: 15.95 kB / 0.5261 GB, free: 3.746 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.5184, allocations: 7.767 MB / 0.5336 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5184, allocations: 0 / 0.5336 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.5197, allocations: 287.7 kB / 0.5339 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/0.5251, allocations: 1.62 MB / 0.5355 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002983/0.5254, allocations: 59.92 kB / 0.5356 GB, free: 9.895 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0279/0.5533, allocations: 24.03 MB / 0.559 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5533, allocations: 3.938 kB / 0.559 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1956/0.7489, allocations: 6.029 MB / 0.5649 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001747/0.7506, allocations: 0.5823 MB / 0.5655 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004306/0.7511, allocations: 54.5 kB / 0.5655 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.7524, allocations: 122.7 kB / 0.5657 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/0.7529, allocations: 232.5 kB / 0.5659 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.7531, allocations: 65.12 kB / 0.5659 GB, free: 140 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00231/0.7554, allocations: 1.531 MB / 0.5674 GB, free: 139.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7554, allocations: 1.656 kB / 0.5674 GB, free: 139.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003712/0.7591, allocations: 0.948 MB / 0.5684 GB, free: 139.5 MB / 478.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.0006545/0.7598, allocations: 228.5 kB / 0.5686 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006776/0.7665, allocations: 4.761 MB / 0.5732 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.7665, allocations: 2.281 kB / 0.5732 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004253/0.7708, allocations: 3.266 MB / 0.5764 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/0.7742, allocations: 0.7256 MB / 0.5771 GB, free: 134.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01219/0.7864, allocations: 8.52 MB / 0.5855 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.7887, allocations: 2.563 MB / 0.588 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/0.7893, allocations: 159 kB / 0.5881 GB, free: 130.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.883e-06/0.7893, allocations: 0 / 0.5881 GB, free: 130.3 MB / 478.1 MB Notification: Performance of Templates: time 0.3782/1.168, allocations: 259.4 MB / 0.8414 GB, free: 92.12 MB / 0.4981 GB " [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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/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: 18.91783805983141]