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.001925/0.001925, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001517/0.001517, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.44/1.44, allocations: 230.6 MB / 257.5 MB, free: 8 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.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 0.001591/0.001591, allocations: 43.94 kB / 378.3 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2569, allocations: 53.36 MB / 431.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01272/0.2696, allocations: 10.8 MB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006925/0.2765, allocations: 3.259 MB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2777, allocations: 111.2 kB / 445.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.2793, allocations: 0.7372 MB / 446.6 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.282, allocations: 1.189 MB / 447.8 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.2829, allocations: 491.3 kB / 448.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006068/0.289, allocations: 5.147 MB / 453.4 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003723/0.2927, allocations: 2.503 MB / 455.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/0.2979, allocations: 2.439 MB / 458.3 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005843/0.3037, allocations: 2.833 MB / 461.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002023/0.3058, allocations: 0.625 MB / 461.8 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002352/0.3081, allocations: 0.7069 MB / 462.5 MB, free: 7.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.3101, allocations: 1.648 MB / 464.1 MB, free: 6.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004575/0.3147, allocations: 2.77 MB / 466.9 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009906/0.3246, allocations: 8.448 MB / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3246, allocations: 0 / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3246, allocations: 4 kB / 475.4 MB, free: 10.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001792/0.3248, allocations: 0 / 475.4 MB, free: 10.98 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.01199/0.3368, allocations: 5.151 MB / 480.5 MB, free: 5.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3368, allocations: 12.03 kB / 480.5 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.3386, allocations: 0.6032 MB / 481.1 MB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005864/0.3445, allocations: 2.834 MB / 484 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/0.3447, allocations: 291.8 kB / 484.2 MB, free: 1.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008623/0.3456, allocations: 384 kB / 484.6 MB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01043/0.356, allocations: 5.809 MB / 490.4 MB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-05/0.3561, allocations: 3.984 kB / 490.4 MB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004635/0.3566, allocations: 160 kB / 490.6 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002391/0.3568, allocations: 208 kB / 490.8 MB, free: 11.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009935/0.3667, allocations: 5.02 MB / 495.8 MB, free: 6.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04742/0.4142, allocations: 16.12 MB / 0.4999 GB, free: 5.887 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009841/0.424, allocations: 3.905 MB / 0.5037 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005869/0.4299, allocations: 2.45 MB / 0.5061 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003803/0.4302, allocations: 57.97 kB / 0.5062 GB, free: 15.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.117e-05/0.4303, allocations: 60.56 kB / 0.5062 GB, free: 15.52 MB / 430.1 MB Notification: Performance of pre-optimization done (n=249): time 6.522e-06/0.4303, allocations: 0 / 0.5062 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=256): time 0.02457/0.4549, allocations: 10.06 MB / 0.5161 GB, free: 5.383 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.231e-05/0.455, allocations: 77.42 kB / 0.5161 GB, free: 5.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004226/0.4592, allocations: 2.636 MB / 0.5187 GB, free: 2.637 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.4595, allocations: 69.7 kB / 0.5188 GB, free: 2.562 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.461, allocations: 1.675 MB / 0.5204 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009657/0.462, allocations: 0.8909 MB / 0.5213 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007006/0.4627, allocations: 408.7 kB / 0.5217 GB, free: 15.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4628, allocations: 305.1 kB / 0.522 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002226/0.465, allocations: 1.344 MB / 0.5233 GB, free: 13.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002475/0.4675, allocations: 1.65 MB / 0.5249 GB, free: 12.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.4723, allocations: 3.079 MB / 0.5279 GB, free: 8.965 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.4723, allocations: 0 / 0.5279 GB, free: 8.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00879/0.4811, allocations: 4.431 MB / 0.5322 GB, free: 4.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.4812, allocations: 8 kB / 0.5322 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/0.4812, allocations: 8.062 kB / 0.5322 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/0.4872, allocations: 1.651 MB / 0.5339 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001688/0.4889, allocations: 379.5 kB / 0.5342 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2223/0.7112, allocations: 24.71 MB / 0.5583 GB, free: 82.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/0.7133, allocations: 91.39 kB / 0.5584 GB, free: 82.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004194/0.7137, allocations: 81.12 kB / 0.5585 GB, free: 82.17 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.002602/0.7163, allocations: 1.407 MB / 0.5599 GB, free: 81.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009706/0.7173, allocations: 311.2 kB / 0.5602 GB, free: 81.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007414/0.7247, allocations: 4.355 MB / 0.5644 GB, free: 79.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.7247, allocations: 24 kB / 0.5645 GB, free: 79.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.46e-05/0.7248, allocations: 8.688 kB / 0.5645 GB, free: 79.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-05/0.7248, allocations: 15.95 kB / 0.5645 GB, free: 79.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/0.7408, allocations: 8.738 MB / 0.573 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.7408, allocations: 64 / 0.573 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7419, allocations: 291.6 kB / 0.5733 GB, free: 71.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.7468, allocations: 1.614 MB / 0.5749 GB, free: 69.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002276/0.747, allocations: 59.97 kB / 0.5749 GB, free: 69.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/0.766, allocations: 24.46 MB / 0.5988 GB, free: 44.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.766, allocations: 4.062 kB / 0.5988 GB, free: 44.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009855/0.7759, allocations: 6.067 MB / 0.6047 GB, free: 38.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/0.7783, allocations: 0.6308 MB / 0.6054 GB, free: 37.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008352/0.7791, allocations: 55.98 kB / 0.6054 GB, free: 37.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/0.7814, allocations: 123.9 kB / 0.6055 GB, free: 37.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005896/0.782, allocations: 225.4 kB / 0.6057 GB, free: 37.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002122/0.7822, allocations: 63.98 kB / 0.6058 GB, free: 37.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003592/0.7858, allocations: 1.856 MB / 0.6076 GB, free: 35.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7858, allocations: 4 kB / 0.6076 GB, free: 35.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005122/0.7909, allocations: 0.9511 MB / 0.6085 GB, free: 34.43 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.0008813/0.7918, allocations: 258.7 kB / 0.6088 GB, free: 34.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008803/0.8006, allocations: 4.772 MB / 0.6135 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.8006, allocations: 3.938 kB / 0.6135 GB, free: 29.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005863/0.8064, allocations: 3.275 MB / 0.6167 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005963/0.8124, allocations: 0.9536 MB / 0.6176 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/0.8288, allocations: 8.668 MB / 0.626 GB, free: 16.27 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.831, allocations: 3.181 MB / 0.6292 GB, free: 13.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001502/0.8325, allocations: 0.5792 MB / 0.6297 GB, free: 12.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/0.833, allocations: 171.4 kB / 0.6299 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.833, allocations: 0 / 0.6299 GB, free: 12.3 MB / 446.1 MB Notification: Performance of Templates: time 0.1027/0.9357, allocations: 62.39 MB / 0.6908 GB, free: 14.66 MB / 0.4981 GB " [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: 7.4833342409692705]