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.001596/0.001596, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.002053/0.002053, allocations: 160.7 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.442/1.442, allocations: 177.1 MB / 204.7 MB, free: 8.891 MB / 190.1 MB " [Timeout remaining time 178] 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.2..i|supplyL.inductor.3..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.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 65.86 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1085, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008085/0.1166, allocations: 5.571 MB / 384.5 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1205, allocations: 1.659 MB / 386.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.1214, allocations: 59.69 kB / 386.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006915/0.1221, allocations: 313.5 kB / 386.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.1235, allocations: 433.2 kB / 386.9 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.1242, allocations: 363.5 kB / 387.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002338/0.1265, allocations: 2.153 MB / 389.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001846/0.1284, allocations: 1.356 MB / 390.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.13, allocations: 1.067 MB / 391.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002096/0.1321, allocations: 1.187 MB / 393.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004164/0.1325, allocations: 292 kB / 393.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007846/0.1333, allocations: 407.7 kB / 393.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007159/0.134, allocations: 0.7091 MB / 394.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.1352, allocations: 1.008 MB / 395.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.1396, allocations: 3.655 MB / 399.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1396, allocations: 0 / 399.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1396, allocations: 0 / 399.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.1397, allocations: 4 kB / 399.1 MB, free: 11.12 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: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.005746/0.1454, allocations: 2.464 MB / 401.6 MB, free: 8.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.1455, allocations: 8.031 kB / 401.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000757/0.1463, allocations: 271.4 kB / 401.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.1488, allocations: 1.258 MB / 403.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/0.1489, allocations: 156.5 kB / 403.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.1492, allocations: 212.1 kB / 403.5 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004615/0.1538, allocations: 2.659 MB / 406.1 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.1539, allocations: 3.984 kB / 406.1 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001907/0.1541, allocations: 80 kB / 406.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.1542, allocations: 76.12 kB / 406.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00385/0.1581, allocations: 2.089 MB / 408.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.1696, allocations: 6.343 MB / 414.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.1716, allocations: 1.301 MB / 416 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.1732, allocations: 0.8934 MB / 416.9 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.1733, allocations: 9 kB / 416.9 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.1733, allocations: 47.56 kB / 417 MB, free: 8.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.018e-06/0.1733, allocations: 0 / 417 MB, free: 8.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.00821/0.1815, allocations: 3.895 MB / 420.9 MB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.1816, allocations: 64.34 kB / 420.9 MB, free: 4.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.1829, allocations: 0.8445 MB / 421.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.643e-05/0.183, allocations: 41.7 kB / 421.8 MB, free: 3.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.1837, allocations: 0.8631 MB / 422.7 MB, free: 3.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.184, allocations: 337.1 kB / 423 MB, free: 2.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.1843, allocations: 174.6 kB / 423.2 MB, free: 2.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1845, allocations: 345.9 kB / 423.5 MB, free: 2.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008389/0.1853, allocations: 493.7 kB / 424 MB, free: 1.777 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009859/0.1863, allocations: 0.6772 MB / 424.7 MB, free: 1.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.1881, allocations: 1.201 MB / 425.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.1881, allocations: 4 kB / 425.9 MB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002853/0.191, allocations: 1.617 MB / 427.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.191, allocations: 8 kB / 427.5 MB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.191, allocations: 7.938 kB / 427.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.1922, allocations: 467.1 kB / 428 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.1929, allocations: 171.7 kB / 428.1 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.203, allocations: 8.726 MB / 436.9 MB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.2038, allocations: 52.08 kB / 436.9 MB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.204, allocations: 36 kB / 436.9 MB, free: 4.254 MB / 398.1 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.001447/0.2055, allocations: 0.6438 MB / 437.6 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003583/0.2058, allocations: 111.3 kB / 437.7 MB, free: 3.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003696/0.2062, allocations: 129.9 kB / 437.8 MB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.853e-05/0.2062, allocations: 15.98 kB / 437.8 MB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.2062, allocations: 0 / 437.8 MB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/0.2063, allocations: 7.984 kB / 437.8 MB, free: 3.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007535/0.2138, allocations: 3.058 MB / 440.9 MB, free: 216 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.2138, allocations: 4 kB / 440.9 MB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.2144, allocations: 115.9 kB / 441 MB, free: 96 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.2156, allocations: 459.4 kB / 441.5 MB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.2156, allocations: 27.92 kB / 441.5 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.2262, allocations: 8.644 MB / 450.1 MB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2262, allocations: 0 / 450.1 MB, free: 6.562 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.2305, allocations: 2.293 MB / 452.4 MB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/0.2311, allocations: 207.3 kB / 452.6 MB, free: 4.031 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.2313, allocations: 27.91 kB / 452.7 MB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.2319, allocations: 43.95 kB / 452.7 MB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002881/0.2322, allocations: 88.83 kB / 452.8 MB, free: 3.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/0.2323, allocations: 24.09 kB / 452.8 MB, free: 3.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001156/0.2335, allocations: 0.5965 MB / 453.4 MB, free: 3.258 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2335, allocations: 0 / 453.4 MB, free: 3.258 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001863/0.2353, allocations: 387.9 kB / 453.8 MB, free: 2.879 MB / 414.1 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.0003328/0.2356, allocations: 135.2 kB / 453.9 MB, free: 2.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.239, allocations: 1.78 MB / 455.7 MB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.239, allocations: 0 / 455.7 MB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.241, allocations: 1.215 MB / 456.9 MB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.2424, allocations: 281.7 kB / 457.2 MB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007736/0.2502, allocations: 3.689 MB / 460.9 MB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.2518, allocations: 1.154 MB / 462 MB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006339/0.2524, allocations: 184.6 kB / 462.2 MB, free: 10.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/0.2526, allocations: 68.5 kB / 462.3 MB, free: 10.2 MB / 430.1 MB Notification: Performance of SimCode: time 1.623e-06/0.2526, allocations: 0 / 462.3 MB, free: 10.2 MB / 430.1 MB Notification: Performance of Templates: time 0.2601/0.5128, allocations: 19.96 MB / 482.2 MB, free: 79.75 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.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.559317238046788]