Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009233/0.0009233, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009842/0.0009842, allocations: 170 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9002/0.9002, allocations: 177 MB / 205.2 MB, free: 5.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273.4 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.511e-05, allocations: 2.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006648/0.006663, allocations: 5.987 MB / 279.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00276/0.009423, allocations: 1.767 MB / 281.1 MB, free: 9.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004068/0.00983, allocations: 55.69 kB / 281.2 MB, free: 9.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004924/0.01032, allocations: 313.5 kB / 281.5 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.01126, allocations: 464.6 kB / 281.9 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005299/0.01179, allocations: 359.4 kB / 282.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001681/0.01347, allocations: 2.237 MB / 284.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.01485, allocations: 1.388 MB / 285.9 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.01634, allocations: 1.618 MB / 287.5 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.01761, allocations: 1.169 MB / 288.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003291/0.01794, allocations: 292 kB / 289 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.01846, allocations: 407.7 kB / 289.4 MB, free: 1.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005151/0.01897, allocations: 0.7362 MB / 290.1 MB, free: 320 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09639/0.1154, allocations: 0.866 MB / 291 MB, free: 18.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.1173, allocations: 2.051 MB / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1173, allocations: 0.8438 kB / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1173, allocations: 0 / 293 MB, free: 18.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.6e-05/0.1174, allocations: 0 / 293 MB, free: 18.15 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.002721/0.1201, allocations: 2.325 MB / 295.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.1202, allocations: 15.8 kB / 295.4 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/0.1207, allocations: 346.5 kB / 295.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.1217, allocations: 0.7873 MB / 296.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.1217, allocations: 151.2 kB / 296.7 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.1219, allocations: 211.1 kB / 296.9 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.1236, allocations: 1.488 MB / 298.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.1236, allocations: 0 / 298.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.1237, allocations: 87.62 kB / 298.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/0.1238, allocations: 80.08 kB / 298.5 MB, free: 16.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008266/0.1246, allocations: 0.5509 MB / 299.1 MB, free: 16.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.1289, allocations: 4.418 MB / 303.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.1295, allocations: 0.7285 MB / 304.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.1299, allocations: 410.8 kB / 304.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1299, allocations: 19.47 kB / 304.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.1299, allocations: 43.61 kB / 304.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.044e-06/0.1299, allocations: 0 / 304.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002128/0.132, allocations: 1.606 MB / 306.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.639e-05/0.1321, allocations: 63.78 kB / 306.3 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.1324, allocations: 0.6034 MB / 306.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.1324, allocations: 43.61 kB / 307 MB, free: 13.2 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.1326, allocations: 0.7591 MB / 307.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.1327, allocations: 338.6 kB / 308.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1328, allocations: 162.9 kB / 308.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.1329, allocations: 352.2 kB / 308.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.133, allocations: 118.5 kB / 308.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.1332, allocations: 285.5 kB / 309 MB, free: 11.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.1335, allocations: 0.4922 MB / 309.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1335, allocations: 3.469 kB / 309.5 MB, free: 11.62 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0006144/0.1341, allocations: 0.6362 MB / 310.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1342, allocations: 9.375 kB / 310.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1342, allocations: 3.5 kB / 310.1 MB, free: 11.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003798/0.1345, allocations: 208.6 kB / 310.3 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.1348, allocations: 160.6 kB / 310.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/0.1372, allocations: 6.487 MB / 317 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1374, allocations: 30.95 kB / 317 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.715e-05/0.1374, allocations: 23.98 kB / 317 MB, free: 4.871 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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 {(1,9,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.0002085/0.1376, allocations: 185.5 kB / 317.2 MB, free: 4.691 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.1378, allocations: 91.91 kB / 317.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.18e-05/0.1378, allocations: 125.8 kB / 317.4 MB, free: 4.473 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.1378, allocations: 12 kB / 317.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1379, allocations: 0 / 317.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1379, allocations: 3.984 kB / 317.4 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.1394, allocations: 1.574 MB / 319 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.1394, allocations: 8.062 kB / 319 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002388/0.1397, allocations: 110.5 kB / 319.1 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003253/0.14, allocations: 210.4 kB / 319.3 MB, free: 2.676 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.14, allocations: 27.98 kB / 319.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/0.1429, allocations: 6.488 MB / 325.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1429, allocations: 0 / 325.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.1438, allocations: 0.8729 MB / 326.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.144, allocations: 127.3 kB / 326.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.144, allocations: 27.12 kB / 326.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.1442, allocations: 19.98 kB / 326.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.1443, allocations: 86.86 kB / 327 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.1444, allocations: 16 kB / 327 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1446, allocations: 294.6 kB / 327.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1446, allocations: 0 / 327.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008093/0.1454, allocations: 380 kB / 327.6 MB, free: 10.15 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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 {(1,9,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.0001778/0.1456, allocations: 134.4 kB / 327.8 MB, free: 10.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008837/0.1464, allocations: 1.054 MB / 328.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.1464, allocations: 8 kB / 328.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.147, allocations: 0.8758 MB / 329.7 MB, free: 8.047 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006146/0.1477, allocations: 286.9 kB / 330 MB, free: 7.773 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.1508, allocations: 3.066 MB / 333.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1512, allocations: 454.5 kB / 333.5 MB, free: 4.215 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000216/0.1514, allocations: 112.7 kB / 333.6 MB, free: 4.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004044/0.1518, allocations: 296.2 kB / 333.9 MB, free: 3.816 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1518, allocations: 4 kB / 333.9 MB, free: 3.812 MB / 282.7 MB Notification: Performance of Templates: time 0.02276/0.1746, allocations: 21.2 MB / 355.1 MB, free: 15.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.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: 3.099915756843984]