Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009725/0.001735, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000643/0.000643, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009016/0.001545, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9928/0.9928, allocations: 173.4 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07981/1.073, allocations: 52.5 MB / 238.3 MB, free: 4.438 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 239.6 MB, free: 3.156 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.373e-05, allocations: 3.859 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.007656/0.00768, allocations: 10.36 MB / 249.9 MB, free: 8.75 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006369/0.01405, allocations: 3.325 MB / 253.3 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.01555, allocations: 115.2 kB / 253.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.01674, allocations: 0.741 MB / 254.1 MB, free: 4.555 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.01902, allocations: 1.219 MB / 255.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006853/0.0197, allocations: 479.3 kB / 255.8 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003887/0.02359, allocations: 5.375 MB / 261.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.02567, allocations: 2.503 MB / 263.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004546/0.03022, allocations: 3.929 MB / 267.6 MB, free: 6.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003057/0.03327, allocations: 2.748 MB / 270.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007481/0.03402, allocations: 0.6211 MB / 271 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.03507, allocations: 0.6991 MB / 271.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008579/0.03593, allocations: 1.399 MB / 273.1 MB, free: 1.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1102/0.1462, allocations: 1.616 MB / 274.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.1525, allocations: 4.312 MB / 279 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.744e-05/0.1525, allocations: 0 / 279 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1525, allocations: 0.5 kB / 279 MB, free: 9.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001766/0.1527, allocations: 0 / 279 MB, free: 9.633 MB / 266.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.008563/0.1612, allocations: 5.788 MB / 284.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.1613, allocations: 9.062 kB / 284.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.1627, allocations: 0.8121 MB / 285.6 MB, free: 7.645 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.1654, allocations: 1.701 MB / 287.3 MB, free: 7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.1656, allocations: 292.8 kB / 287.6 MB, free: 6.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.166, allocations: 393 kB / 288 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.1716, allocations: 3.231 MB / 291.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.46e-05/0.1717, allocations: 0 / 291.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003665/0.1721, allocations: 160.2 kB / 291.4 MB, free: 6.254 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001464/0.1722, allocations: 206.9 kB / 291.6 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.1746, allocations: 1.185 MB / 292.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01123/0.1859, allocations: 9.141 MB / 301.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.1874, allocations: 1.944 MB / 303.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/0.1883, allocations: 1.061 MB / 304.9 MB, free: 128 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.1886, allocations: 72.8 kB / 305 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/0.1886, allocations: 64.5 kB / 305 MB, free: 15.99 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 4.147e-06/0.1886, allocations: 6.391 kB / 305 MB, free: 15.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.008167/0.1968, allocations: 4.105 MB / 309.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.1968, allocations: 81.42 kB / 309.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.1983, allocations: 1.434 MB / 310.7 MB, free: 10.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.1985, allocations: 69.7 kB / 310.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005953/0.1991, allocations: 1.378 MB / 312.1 MB, free: 9.254 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/0.1996, allocations: 0.8777 MB / 313 MB, free: 8.434 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.2, allocations: 387.8 kB / 313.4 MB, free: 8.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.2, allocations: 301.1 kB / 313.7 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.2005, allocations: 296 kB / 313.9 MB, free: 7.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005054/0.201, allocations: 0.5482 MB / 314.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.202, allocations: 1.064 MB / 315.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.2021, allocations: 4 kB / 315.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00235/0.2044, allocations: 1.658 MB / 317.2 MB, free: 4.156 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.2044, allocations: 11.06 kB / 317.2 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2044, allocations: 4 kB / 317.2 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/0.2067, allocations: 1.036 MB / 318.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.2079, allocations: 492 kB / 318.8 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/0.2188, allocations: 17.39 MB / 336.1 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/0.2206, allocations: 60 kB / 336.2 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.2208, allocations: 59.98 kB / 336.3 MB, free: 0.5312 MB / 298.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.001376/0.2221, allocations: 248.5 kB / 336.5 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/0.2227, allocations: 267.7 kB / 336.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.225, allocations: 1.74 MB / 338.5 MB, free: 14.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.225, allocations: 31.05 kB / 338.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.225, allocations: 8 kB / 338.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.2251, allocations: 11.95 kB / 338.6 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006078/0.2311, allocations: 3.736 MB / 342.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.2311, allocations: 0 / 342.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007578/0.2319, allocations: 353.7 kB / 342.6 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008076/0.2327, allocations: 332.9 kB / 343 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/0.2349, allocations: 1.035 MB / 344 MB, free: 9.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.235, allocations: 59.97 kB / 344.1 MB, free: 9.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01074/0.2457, allocations: 17.6 MB / 361.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.2457, allocations: 6.828 kB / 361.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/0.2488, allocations: 2.135 MB / 363.8 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/0.2493, allocations: 55.98 kB / 363.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.25, allocations: 91.95 kB / 363.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.2503, allocations: 204.8 kB / 364.1 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/0.2504, allocations: 47.98 kB / 364.2 MB, free: 4.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009088/0.2513, allocations: 0.7679 MB / 365 MB, free: 3.562 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2513, allocations: 0 / 365 MB, free: 3.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002752/0.2541, allocations: 0.9492 MB / 365.9 MB, free: 2.613 MB / 330.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.0005161/0.2546, allocations: 240.6 kB / 366.1 MB, free: 2.402 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002961/0.2576, allocations: 2.787 MB / 368.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-05/0.2576, allocations: 44.88 kB / 369 MB, free: 15.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.2597, allocations: 2.388 MB / 371.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.2619, allocations: 0.9648 MB / 372.3 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02782/0.2897, allocations: 7.584 MB / 379.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/0.291, allocations: 1.063 MB / 381 MB, free: 3.422 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001162/0.2921, allocations: 282 kB / 381.2 MB, free: 3.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001261/0.2934, allocations: 0.6854 MB / 381.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of SimCode: time 1.794e-06/0.2934, allocations: 0 / 381.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of Templates: time 0.1909/0.4843, allocations: 58.7 MB / 440.6 MB, free: 111.6 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.506790011189878]