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.0008009/0.0008009, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001178/0.001979, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007023/0.0007023, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009528/0.001655, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9201/0.9201, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08574/1.006, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..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.[0-9,]+..i|transformer2.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.553e-05, allocations: 5.688 kB / 244.7 MB, free: 14.19 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009847/0.009863, allocations: 10.39 MB / 255.1 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004908/0.01477, allocations: 3.375 MB / 258.5 MB, free: 376 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006748/0.01545, allocations: 107.2 kB / 258.6 MB, free: 268 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009421/0.01639, allocations: 0.7527 MB / 259.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.01792, allocations: 1.222 MB / 260.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005762/0.0185, allocations: 495.2 kB / 261.1 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003139/0.02163, allocations: 5.367 MB / 266.4 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.02342, allocations: 2.503 MB / 268.9 MB, free: 5.785 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.0268, allocations: 3.93 MB / 272.9 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1166/0.1434, allocations: 2.744 MB / 275.6 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.145, allocations: 0.6219 MB / 276.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.1465, allocations: 0.7104 MB / 276.9 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009952/0.1475, allocations: 1.405 MB / 278.3 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.1497, allocations: 1.617 MB / 280 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004159/0.1539, allocations: 4.327 MB / 284.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465e-05/0.1539, allocations: 0 / 284.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1539, allocations: 0 / 284.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001826/0.1541, allocations: 2.438 kB / 284.3 MB, free: 5.586 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.005871/0.1599, allocations: 5.795 MB / 290.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.16, allocations: 13.61 kB / 290.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.1614, allocations: 0.838 MB / 290.9 MB, free: 3.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.1637, allocations: 1.701 MB / 292.6 MB, free: 2.961 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.1638, allocations: 294.7 kB / 292.9 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.1643, allocations: 391.4 kB / 293.3 MB, free: 2.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/0.1678, allocations: 3.238 MB / 296.5 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.1679, allocations: 3.469 kB / 296.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003192/0.1682, allocations: 163.8 kB / 296.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1683, allocations: 200.2 kB / 296.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.1703, allocations: 1.182 MB / 298.1 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.1823, allocations: 9.166 MB / 307.3 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.1847, allocations: 1.936 MB / 309.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.186, allocations: 1.066 MB / 310.3 MB, free: 6.504 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.1862, allocations: 69.11 kB / 310.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.1862, allocations: 68.48 kB / 310.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of pre-optimization done (n=249): time 4.558e-06/0.1862, allocations: 0 / 310.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=256): time 0.008149/0.1944, allocations: 4.177 MB / 314.6 MB, free: 2.211 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.1944, allocations: 77.42 kB / 314.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1957, allocations: 1.439 MB / 316.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.1959, allocations: 65.7 kB / 316.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.1965, allocations: 1.382 MB / 317.5 MB, free: 15.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005137/0.197, allocations: 0.8829 MB / 318.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005071/0.1976, allocations: 382.8 kB / 318.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.1976, allocations: 301.1 kB / 319.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/0.1982, allocations: 302.8 kB / 319.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/0.1988, allocations: 0.5468 MB / 319.9 MB, free: 13.19 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.2004, allocations: 1.091 MB / 321 MB, free: 12.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2004, allocations: 0 / 321 MB, free: 12.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.002605/0.203, allocations: 1.656 MB / 322.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.203, allocations: 12.03 kB / 322.7 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.203, allocations: 8 kB / 322.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002774/0.2058, allocations: 1.047 MB / 323.7 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.2072, allocations: 494.2 kB / 324.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.2231, allocations: 17.39 MB / 341.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007906/0.2239, allocations: 55.98 kB / 341.7 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.224, allocations: 60 kB / 341.7 MB, free: 6.773 MB / 314.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.0007902/0.2248, allocations: 249.3 kB / 342 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/0.2252, allocations: 267.7 kB / 342.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.2276, allocations: 1.749 MB / 344 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.2277, allocations: 24 kB / 344 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.2277, allocations: 8 kB / 344 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2277, allocations: 18.8 kB / 344 MB, free: 4.465 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.2321, allocations: 3.745 MB / 347.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2321, allocations: 0 / 347.8 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006955/0.2328, allocations: 345.1 kB / 348.1 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/0.2333, allocations: 332.9 kB / 348.4 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/0.2353, allocations: 1.045 MB / 349.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.416e-05/0.2354, allocations: 59.97 kB / 349.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009907/0.2453, allocations: 17.59 MB / 367.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.2453, allocations: 6.844 kB / 367.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.2477, allocations: 2.163 MB / 369.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.2479, allocations: 48 kB / 369.3 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005312/0.2485, allocations: 95.89 kB / 369.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.2488, allocations: 205.6 kB / 369.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.046e-05/0.2489, allocations: 47.98 kB / 369.7 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006591/0.2495, allocations: 0.7643 MB / 370.4 MB, free: 9.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2495, allocations: 0 / 370.4 MB, free: 9.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002092/0.2516, allocations: 0.9492 MB / 371.4 MB, free: 8.832 MB / 346.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.0004317/0.2521, allocations: 253.7 kB / 371.6 MB, free: 8.621 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.2547, allocations: 2.812 MB / 374.5 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.665e-05/0.2547, allocations: 52.81 kB / 374.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.2566, allocations: 2.486 MB / 377 MB, free: 3.148 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003863/0.2605, allocations: 8.127 MB / 385.1 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/0.2859, allocations: 7.575 MB / 392.7 MB, free: 1.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001051/0.2869, allocations: 1.067 MB / 393.8 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007799/0.2877, allocations: 286.3 kB / 394 MB, free: 408 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/0.2889, allocations: 0.6866 MB / 394.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2889, allocations: 0 / 394.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of Templates: time 0.214/0.5029, allocations: 59.45 MB / 454.2 MB, free: 118.5 MB / 394.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.29267459269613]