Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.0008315/0.0008315, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0008562/0.0008562, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 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.01/1.01, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 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.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 269.2 MB, free: 9.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.373e-05, allocations: 5.266 kB / 269.2 MB, free: 9.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005437/0.005461, allocations: 5.934 MB / 275.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.008356, allocations: 1.641 MB / 276.8 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.008876, allocations: 51.69 kB / 276.8 MB, free: 2.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.009364, allocations: 313.5 kB / 277.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009828/0.01035, allocations: 455.2 kB / 277.6 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.01086, allocations: 349.1 kB / 277.9 MB, free: 1.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00154/0.0124, allocations: 2.203 MB / 280.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.01368, allocations: 1.364 MB / 281.5 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001522/0.01521, allocations: 1.595 MB / 283.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.01668, allocations: 1.161 MB / 284.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003773/0.01706, allocations: 288 kB / 284.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005126/0.01757, allocations: 407.7 kB / 284.9 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004582/0.01803, allocations: 0.7323 MB / 285.6 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009591/0.01899, allocations: 0.8732 MB / 286.5 MB, free: 8.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002683/0.02167, allocations: 2.037 MB / 288.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.02167, allocations: 4 kB / 288.6 MB, free: 6.324 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.02168, allocations: 3.938 kB / 288.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001049/0.02178, allocations: 0 / 288.6 MB, free: 6.32 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.003854/0.02563, allocations: 2.551 MB / 291.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.02568, allocations: 12.03 kB / 291.1 MB, free: 3.703 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.02618, allocations: 407.4 kB / 291.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.02741, allocations: 1.061 MB / 292.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.02749, allocations: 152.5 kB / 292.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.02767, allocations: 204.4 kB / 292.9 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.02938, allocations: 1.456 MB / 294.4 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.02941, allocations: 3.938 kB / 294.4 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.02952, allocations: 80 kB / 294.5 MB, free: 220 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.813e-05/0.02957, allocations: 59.98 kB / 294.5 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.03036, allocations: 0.5159 MB / 295 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005674/0.03603, allocations: 5.655 MB / 300.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.03673, allocations: 0.7546 MB / 301.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.03722, allocations: 450.5 kB / 301.9 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/0.03726, allocations: 17 kB / 301.9 MB, free: 8.586 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.03729, allocations: 54.33 kB / 302 MB, free: 8.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 2.274e-06/0.03729, allocations: 3.938 kB / 302 MB, free: 8.516 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.002915/0.04021, allocations: 1.781 MB / 303.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.04024, allocations: 64.41 kB / 303.8 MB, free: 6.613 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.04076, allocations: 0.7333 MB / 304.5 MB, free: 5.867 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.0408, allocations: 41.7 kB / 304.6 MB, free: 5.82 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00039/0.04119, allocations: 0.9242 MB / 305.5 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.04138, allocations: 353.1 kB / 305.9 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.04156, allocations: 196.1 kB / 306 MB, free: 4.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.0417, allocations: 0.5354 MB / 306.6 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.04185, allocations: 109.9 kB / 306.7 MB, free: 3.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002588/0.04211, allocations: 383.8 kB / 307.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.04256, allocations: 0.5476 MB / 307.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.04257, allocations: 4 kB / 307.6 MB, free: 2.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008942/0.04346, allocations: 0.7997 MB / 308.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.04348, allocations: 4 kB / 308.4 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.04349, allocations: 8 kB / 308.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004608/0.04395, allocations: 234.9 kB / 308.7 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003533/0.04431, allocations: 159.7 kB / 308.8 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005089/0.0494, allocations: 8.98 MB / 317.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.04981, allocations: 28 kB / 317.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.825e-05/0.04985, allocations: 24 kB / 317.8 MB, free: 7.859 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.0004595/0.05031, allocations: 228.3 kB / 318.1 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.0505, allocations: 131.3 kB / 318.2 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.05064, allocations: 117.9 kB / 318.3 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.05066, allocations: 15.98 kB / 318.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.05067, allocations: 8.125 kB / 318.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.05068, allocations: 3.984 kB / 318.3 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.05351, allocations: 1.858 MB / 320.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.05352, allocations: 0 / 320.2 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002875/0.0538, allocations: 115.9 kB / 320.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004299/0.05423, allocations: 242.4 kB / 320.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.05428, allocations: 27.92 kB / 320.6 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004746/0.05902, allocations: 8.897 MB / 329.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.05902, allocations: 0 / 329.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.06037, allocations: 1.033 MB / 330.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.06066, allocations: 163.3 kB / 330.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.06074, allocations: 16 kB / 330.7 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.06096, allocations: 27.98 kB / 330.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.06115, allocations: 84.78 kB / 330.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-05/0.06118, allocations: 12.12 kB / 330.8 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000393/0.06157, allocations: 442.8 kB / 331.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06157, allocations: 0 / 331.2 MB, free: 9.879 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00138/0.06295, allocations: 383.9 kB / 331.6 MB, free: 9.504 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.0002518/0.06321, allocations: 155 kB / 331.8 MB, free: 9.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.06459, allocations: 1.338 MB / 333.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.06459, allocations: 0 / 333.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008458/0.06544, allocations: 1.119 MB / 334.2 MB, free: 6.738 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008111/0.06625, allocations: 294.8 kB / 334.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004228/0.07048, allocations: 3.119 MB / 337.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.07095, allocations: 0.5375 MB / 338.2 MB, free: 2.707 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002887/0.07124, allocations: 104.6 kB / 338.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004365/0.07167, allocations: 342 kB / 338.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of SimCode: time 1.432e-06/0.07168, allocations: 0 / 338.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of Templates: time 0.144/0.2157, allocations: 21.71 MB / 360.3 MB, free: 85.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.5161696057766676]