Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.00138/0.00138, allocations: 72.06 kB / 21.24 MB, free: 400 kB / 14.72 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.001395/0.001395, allocations: 161.4 kB / 24.49 MB, free: 3.461 MB / 14.72 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 1.374/1.374, allocations: 173.4 MB / 201.1 MB, free: 12.72 MB / 190.1 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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 51.88 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08667, allocations: 52.16 MB / 371.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008291/0.09496, allocations: 6.133 MB / 377.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.09949, allocations: 2.165 MB / 379.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006532/0.1001, allocations: 63.56 kB / 379.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.1012, allocations: 453 kB / 380.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.1029, allocations: 0.6953 MB / 381.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.1034, allocations: 267.7 kB / 381.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.1065, allocations: 2.836 MB / 384.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.1083, allocations: 1.324 MB / 385.5 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.1105, allocations: 1.351 MB / 386.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/0.1127, allocations: 1.549 MB / 388.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004588/0.1131, allocations: 348 kB / 388.7 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007696/0.1139, allocations: 431.8 kB / 389.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008812/0.1148, allocations: 0.896 MB / 390.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.1163, allocations: 1.241 MB / 391.3 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004567/0.1208, allocations: 4.664 MB / 396 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1208, allocations: 0 / 396 MB, free: 14.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1208, allocations: 0 / 396 MB, free: 14.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.824e-05/0.1209, allocations: 0 / 396 MB, free: 14.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005288/0.1261, allocations: 2.963 MB / 398.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.1262, allocations: 12.92 kB / 398.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007334/0.1269, allocations: 323.1 kB / 399.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.1299, allocations: 1.603 MB / 400.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.13, allocations: 168.3 kB / 401 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.1304, allocations: 216 kB / 401.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005111/0.1355, allocations: 3.358 MB / 404.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.295e-05/0.1355, allocations: 0 / 404.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/0.1357, allocations: 88 kB / 404.7 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.1358, allocations: 112.4 kB / 404.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.1405, allocations: 2.723 MB / 407.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.1536, allocations: 7.611 MB / 415.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003008/0.1566, allocations: 1.924 MB / 417 MB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.1586, allocations: 1.23 MB / 418.3 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.1589, allocations: 49.28 kB / 418.3 MB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.599e-05/0.1589, allocations: 47.81 kB / 418.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.566e-06/0.1589, allocations: 3.938 kB / 418.4 MB, free: 8.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01074/0.1696, allocations: 5.291 MB / 423.7 MB, free: 2.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.1697, allocations: 72.72 kB / 423.7 MB, free: 2.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.1715, allocations: 1.27 MB / 425 MB, free: 1.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/0.1716, allocations: 45.7 kB / 425.1 MB, free: 1.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007682/0.1724, allocations: 0.9733 MB / 426 MB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.1728, allocations: 472.2 kB / 426.5 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.1731, allocations: 218.9 kB / 426.7 MB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1733, allocations: 357.9 kB / 427 MB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.1744, allocations: 0.6896 MB / 427.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.1757, allocations: 0.859 MB / 428.6 MB, free: 13.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.1784, allocations: 1.604 MB / 430.2 MB, free: 12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.1784, allocations: 0 / 430.2 MB, free: 12 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003863/0.1822, allocations: 2.275 MB / 432.5 MB, free: 9.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.1822, allocations: 8 kB / 432.5 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1823, allocations: 4 kB / 432.5 MB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002681/0.1849, allocations: 0.8266 MB / 433.3 MB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/0.1858, allocations: 207.8 kB / 433.5 MB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.1988, allocations: 10.89 MB / 444.4 MB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007974/0.1996, allocations: 51.95 kB / 444.5 MB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.1997, allocations: 44.09 kB / 444.5 MB, free: 13.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.201, allocations: 0.8097 MB / 445.3 MB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003074/0.2013, allocations: 155 kB / 445.5 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.2053, allocations: 2.236 MB / 447.7 MB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.2053, allocations: 15.94 kB / 447.7 MB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2053, allocations: 4 kB / 447.7 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.2053, allocations: 3.984 kB / 447.7 MB, free: 10 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/0.213, allocations: 4.153 MB / 451.9 MB, free: 5.781 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.213, allocations: 3.938 kB / 451.9 MB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006824/0.2137, allocations: 155.8 kB / 452 MB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002583/0.2163, allocations: 0.8033 MB / 452.8 MB, free: 4.809 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.2164, allocations: 31.98 kB / 452.9 MB, free: 4.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/0.2295, allocations: 10.78 MB / 463.6 MB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.2295, allocations: 12.03 kB / 463.7 MB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/0.235, allocations: 3.196 MB / 466.8 MB, free: 6.355 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009699/0.236, allocations: 319 kB / 467.2 MB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002491/0.2363, allocations: 28 kB / 467.2 MB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008247/0.2371, allocations: 71.88 kB / 467.3 MB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002818/0.2374, allocations: 121 kB / 467.4 MB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/0.2375, allocations: 36 kB / 467.4 MB, free: 5.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001422/0.2389, allocations: 0.8913 MB / 468.3 MB, free: 4.891 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2389, allocations: 0 / 468.3 MB, free: 4.891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001819/0.2407, allocations: 0.5078 MB / 468.8 MB, free: 4.383 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005236/0.2412, allocations: 214.2 kB / 469 MB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003919/0.2451, allocations: 2.349 MB / 471.4 MB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.2451, allocations: 0 / 471.4 MB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00249/0.2476, allocations: 1.59 MB / 473 MB, free: 136 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1616/0.4092, allocations: 391.9 kB / 473.3 MB, free: 90.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/0.4162, allocations: 4.666 MB / 478 MB, free: 89.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001867/0.4181, allocations: 1.464 MB / 479.5 MB, free: 89.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008295/0.4189, allocations: 294.3 kB / 479.8 MB, free: 89.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.4191, allocations: 89.83 kB / 479.8 MB, free: 89.37 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4191, allocations: 0 / 479.8 MB, free: 89.37 MB / 430.1 MB Notification: Performance of Templates: time 0.03674/0.4559, allocations: 29.13 MB / 0.497 GB, free: 68.47 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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: 5.626767367008142]