Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001119/0.001119, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00112/0.00112, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 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.9677/0.9677, allocations: 177.2 MB / 206.1 MB, free: 4.469 MB / 186.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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145e-05/1.275e-05, allocations: 3 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005171/0.005184, allocations: 5.952 MB / 280.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.007653, allocations: 1.69 MB / 281.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.008024, allocations: 51.69 kB / 281.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.008675, allocations: 317.4 kB / 282.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008601/0.009536, allocations: 448.7 kB / 282.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.009952, allocations: 367.4 kB / 283 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001278/0.01123, allocations: 2.202 MB / 285.2 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.01233, allocations: 1.356 MB / 286.5 MB, free: 7.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.0134, allocations: 1.595 MB / 288.1 MB, free: 6.359 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.0146, allocations: 1.173 MB / 289.3 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.01482, allocations: 288 kB / 289.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.01521, allocations: 407.7 kB / 290 MB, free: 4.504 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004033/0.01561, allocations: 0.7323 MB / 290.7 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005842/0.0162, allocations: 0.8615 MB / 291.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.01758, allocations: 2.044 MB / 293.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01758, allocations: 0 / 293.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.01758, allocations: 0 / 293.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.0176, allocations: 0 / 293.6 MB, free: 0.8555 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.002224/0.01982, allocations: 2.563 MB / 296.2 MB, free: 14.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.836e-05/0.01985, allocations: 12.03 kB / 296.2 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009092/0.02076, allocations: 431.5 kB / 296.6 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009526/0.02171, allocations: 1.088 MB / 297.7 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.02178, allocations: 148.5 kB / 297.9 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.02196, allocations: 204.4 kB / 298.1 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.02335, allocations: 1.456 MB / 299.5 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.02339, allocations: 11.92 kB / 299.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.0235, allocations: 84 kB / 299.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.02354, allocations: 55.98 kB / 299.7 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.02424, allocations: 0.5158 MB / 300.2 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005399/0.02964, allocations: 5.651 MB / 305.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.03032, allocations: 0.7547 MB / 306.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.03081, allocations: 446.5 kB / 307 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.03085, allocations: 21 kB / 307 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.03088, allocations: 46.39 kB / 307.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 2.084e-06/0.03088, allocations: 0 / 307.1 MB, free: 3.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.002542/0.03342, allocations: 1.781 MB / 308.9 MB, free: 1.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.03345, allocations: 64.41 kB / 308.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.03395, allocations: 0.7566 MB / 309.7 MB, free: 336 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.285e-05/0.03399, allocations: 41.7 kB / 309.7 MB, free: 288 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006741/0.03466, allocations: 0.9203 MB / 310.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.03485, allocations: 357 kB / 311 MB, free: 15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.03503, allocations: 192.2 kB / 311.2 MB, free: 14.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.03517, allocations: 0.5315 MB / 311.7 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.03533, allocations: 109.9 kB / 311.8 MB, free: 14.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.03558, allocations: 383.8 kB / 312.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.03604, allocations: 0.5592 MB / 312.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.03604, allocations: 0 / 312.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008534/0.0369, allocations: 0.7961 MB / 313.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.03691, allocations: 11.98 kB / 313.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.03692, allocations: 4 kB / 313.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.03735, allocations: 246.6 kB / 313.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.03768, allocations: 155.8 kB / 314 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004366/0.04205, allocations: 8.971 MB / 322.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.04226, allocations: 23.98 kB / 323 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.0423, allocations: 28 kB / 323 MB, free: 2.316 MB / 298.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.000249/0.04255, allocations: 224.4 kB / 323.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.04268, allocations: 131.4 kB / 323.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.0428, allocations: 125.8 kB / 323.5 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.04281, allocations: 12 kB / 323.5 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.04282, allocations: 0 / 323.5 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.04282, allocations: 3.984 kB / 323.5 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.04498, allocations: 1.862 MB / 325.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.04499, allocations: 4 kB / 325.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.04526, allocations: 119.9 kB / 325.5 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000361/0.04562, allocations: 234.8 kB / 325.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.04566, allocations: 27.94 kB / 325.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/0.04963, allocations: 8.902 MB / 334.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.04963, allocations: 0 / 334.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.05063, allocations: 1.033 MB / 335.6 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.05083, allocations: 175.2 kB / 335.8 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.05089, allocations: 16 kB / 335.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.05108, allocations: 27.98 kB / 335.9 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.0512, allocations: 80.8 kB / 335.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.05123, allocations: 12.05 kB / 336 MB, free: 4.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002661/0.05149, allocations: 450.8 kB / 336.4 MB, free: 4.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05149, allocations: 0 / 336.4 MB, free: 4.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007593/0.05225, allocations: 376 kB / 336.8 MB, free: 3.953 MB / 314.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.0001817/0.05243, allocations: 161.7 kB / 336.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.05346, allocations: 1.333 MB / 338.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.05347, allocations: 0 / 338.2 MB, free: 2.391 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009036/0.05437, allocations: 1.119 MB / 339.4 MB, free: 1.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.05504, allocations: 299.3 kB / 339.7 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.05817, allocations: 3.121 MB / 342.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.05853, allocations: 0.5298 MB / 343.3 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002187/0.05875, allocations: 108.8 kB / 343.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.05917, allocations: 338 kB / 343.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.05917, allocations: 0 / 343.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of Templates: time 0.1269/0.186, allocations: 21.66 MB / 365.4 MB, free: 76.03 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.439257890917361]