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.00112/0.00112, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.002747, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001013/0.001013, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000987/0.002, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9436/0.9436, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08014/1.024, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.242e-06/1.242e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.466e-06/9.708e-06, allocations: 2.312 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004586/0.004596, allocations: 6.058 MB / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.006463, allocations: 1.794 MB / 252.9 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.006749, allocations: 59.62 kB / 252.9 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.007184, allocations: 309.5 kB / 253.2 MB, free: 5.398 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000652/0.007836, allocations: 464.6 kB / 253.7 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.008216, allocations: 355.3 kB / 254 MB, free: 4.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.009673, allocations: 2.238 MB / 256.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.01073, allocations: 1.395 MB / 257.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.01213, allocations: 1.695 MB / 259.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000865/0.01299, allocations: 1.169 MB / 260.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002031/0.0132, allocations: 288 kB / 260.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.0136, allocations: 407.7 kB / 261.2 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.01394, allocations: 0.5923 MB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005341/0.01447, allocations: 0.7136 MB / 262.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.01581, allocations: 1.92 MB / 264.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.01583, allocations: 0 / 264.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01583, allocations: 0 / 264.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.01586, allocations: 0 / 264.4 MB, free: 10.08 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.002702/0.01856, allocations: 2.783 MB / 267.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.01859, allocations: 8.625 kB / 267.2 MB, free: 7.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004765/0.01907, allocations: 425.8 kB / 267.6 MB, free: 6.816 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.01992, allocations: 0.7851 MB / 268.4 MB, free: 6.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.01999, allocations: 152.5 kB / 268.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.02017, allocations: 204.4 kB / 268.8 MB, free: 5.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.02159, allocations: 1.49 MB / 270.3 MB, free: 4.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.02162, allocations: 7.922 kB / 270.3 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.02173, allocations: 87.94 kB / 270.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.02179, allocations: 76.12 kB / 270.4 MB, free: 3.891 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000704/0.0225, allocations: 0.5531 MB / 271 MB, free: 3.309 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1075/0.13, allocations: 4.438 MB / 275.4 MB, free: 18.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007701/0.1308, allocations: 0.73 MB / 276.1 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.1313, allocations: 407 kB / 276.5 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/0.1313, allocations: 16.28 kB / 276.6 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.1313, allocations: 49.55 kB / 276.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.1313, allocations: 0 / 276.6 MB, free: 18.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002944/0.1343, allocations: 1.598 MB / 278.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.278e-05/0.1343, allocations: 62.16 kB / 278.3 MB, free: 17.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005343/0.1348, allocations: 0.6085 MB / 278.9 MB, free: 17.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.1349, allocations: 41.7 kB / 278.9 MB, free: 17.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.1352, allocations: 0.758 MB / 279.7 MB, free: 17.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1353, allocations: 339.1 kB / 280 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/0.1354, allocations: 174.5 kB / 280.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.233e-05/0.1355, allocations: 346.6 kB / 280.5 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.1357, allocations: 113.1 kB / 280.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.1359, allocations: 294.1 kB / 280.9 MB, free: 16.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.1364, allocations: 0.4887 MB / 281.4 MB, free: 16.44 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1364, allocations: 5.219 kB / 281.4 MB, free: 16.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008861/0.1372, allocations: 0.6318 MB / 282 MB, free: 16.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1373, allocations: 7.453 kB / 282 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1373, allocations: 5.75 kB / 282.1 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004605/0.1377, allocations: 209.1 kB / 282.3 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004689/0.1382, allocations: 194.4 kB / 282.4 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.1413, allocations: 6.499 MB / 288.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.1416, allocations: 29.27 kB / 289 MB, free: 10.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.1416, allocations: 33.06 kB / 289 MB, free: 10.96 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.0003427/0.142, allocations: 174 kB / 289.2 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.1421, allocations: 94.81 kB / 289.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.1422, allocations: 125.2 kB / 289.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.1422, allocations: 11.03 kB / 289.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.1423, allocations: 2.406 kB / 289.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.1423, allocations: 5.344 kB / 289.4 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002253/0.1445, allocations: 1.569 MB / 291 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1445, allocations: 1.156 kB / 291 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003471/0.1449, allocations: 143 kB / 291.1 MB, free: 10.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.1451, allocations: 124.6 kB / 291.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003825/0.1454, allocations: 218.4 kB / 291.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.1455, allocations: 21.28 kB / 291.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/0.1479, allocations: 6.5 MB / 298 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.1479, allocations: 0 / 298 MB, free: 4.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/0.1488, allocations: 0.8795 MB / 298.9 MB, free: 4.504 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.479e-05/0.1488, allocations: 24.91 kB / 298.9 MB, free: 4.488 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.149, allocations: 25.48 kB / 298.9 MB, free: 4.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.1491, allocations: 75.38 kB / 299 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.1492, allocations: 17.09 kB / 299 MB, free: 4.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.1494, allocations: 301.8 kB / 299.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1494, allocations: 0 / 299.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009527/0.1503, allocations: 380.7 kB / 299.7 MB, free: 4.379 MB / 266.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.000192/0.1505, allocations: 141.4 kB / 299.8 MB, free: 4.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008223/0.1513, allocations: 1.058 MB / 300.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-05/0.1514, allocations: 19.02 kB / 300.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.1519, allocations: 0.8663 MB / 301.7 MB, free: 3.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006205/0.1525, allocations: 373.3 kB / 302.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.1591, allocations: 3.454 MB / 305.6 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1594, allocations: 494.4 kB / 306 MB, free: 180 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002515/0.1596, allocations: 108.8 kB / 306.1 MB, free: 68 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/0.1601, allocations: 295.8 kB / 306.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1601, allocations: 0 / 306.4 MB, free: 15.78 MB / 282.7 MB Notification: Performance of Templates: time 0.02719/0.1872, allocations: 22.24 MB / 328.7 MB, free: 9.938 MB / 298.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 -ignoreHideResult -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.175227059982717]