Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.00147/0.00147, allocations: 84.98 kB / 23 MB, free: 1.504 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.001089/0.001089, allocations: 176.2 kB / 26.39 MB, free: 8.008 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9282/0.9282, allocations: 158.6 MB / 188.3 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 3.938 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.168e-05, allocations: 6.25 kB / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005269/0.005291, allocations: 5.889 MB / 258.1 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003034/0.008324, allocations: 1.679 MB / 259.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004798/0.008804, allocations: 47.69 kB / 259.9 MB, free: 15.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004871/0.009291, allocations: 309.5 kB / 260.2 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.01049, allocations: 460.5 kB / 260.6 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005642/0.01105, allocations: 347.5 kB / 261 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.01292, allocations: 2.23 MB / 263.2 MB, free: 12.25 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.01428, allocations: 1.324 MB / 264.5 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001914/0.0162, allocations: 1.579 MB / 266.1 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.01769, allocations: 1.165 MB / 267.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.0181, allocations: 288 kB / 267.5 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005232/0.01862, allocations: 411.6 kB / 267.9 MB, free: 7.434 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.01907, allocations: 0.7324 MB / 268.7 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007089/0.01978, allocations: 0.8654 MB / 269.5 MB, free: 5.832 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.02124, allocations: 2.033 MB / 271.6 MB, free: 3.793 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.02124, allocations: 0 / 271.6 MB, free: 3.793 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02124, allocations: 0 / 271.6 MB, free: 3.793 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.618e-05/0.02127, allocations: 4 kB / 271.6 MB, free: 3.789 MB / 250.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.002762/0.02403, allocations: 2.54 MB / 274.1 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.02407, allocations: 19.97 kB / 274.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.02447, allocations: 407.4 kB / 274.5 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.02534, allocations: 0.9364 MB / 275.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.02542, allocations: 152.5 kB / 275.6 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.02561, allocations: 204.3 kB / 275.8 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.0271, allocations: 1.464 MB / 277.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.02714, allocations: 11.92 kB / 277.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.02724, allocations: 84 kB / 277.4 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.02729, allocations: 55.98 kB / 277.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.02802, allocations: 0.5159 MB / 277.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005204/0.03322, allocations: 5.648 MB / 283.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006733/0.0339, allocations: 0.7413 MB / 284.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.03439, allocations: 450.7 kB / 284.8 MB, free: 6.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.03443, allocations: 17 kB / 284.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.03445, allocations: 50.38 kB / 284.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.285e-06/0.03445, allocations: 0 / 284.8 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002762/0.03722, allocations: 1.792 MB / 286.6 MB, free: 4.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.03725, allocations: 64.34 kB / 286.7 MB, free: 4.207 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004696/0.03772, allocations: 0.7411 MB / 287.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.03775, allocations: 45.64 kB / 287.5 MB, free: 3.402 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.03813, allocations: 0.9242 MB / 288.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.0383, allocations: 353 kB / 288.7 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.03848, allocations: 192.2 kB / 288.9 MB, free: 1.918 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.03862, allocations: 0.5315 MB / 289.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.03877, allocations: 117.9 kB / 289.6 MB, free: 1.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.03904, allocations: 375.9 kB / 290 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004564/0.0395, allocations: 0.5553 MB / 290.5 MB, free: 164 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.0395, allocations: 0 / 290.5 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0008539/0.04036, allocations: 0.7959 MB / 291.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.04037, allocations: 8 kB / 291.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.04038, allocations: 4 kB / 291.3 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.0408, allocations: 246.8 kB / 291.6 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.04114, allocations: 155.8 kB / 291.7 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00473/0.04587, allocations: 8.979 MB / 300.7 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.04609, allocations: 28 kB / 300.7 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.04613, allocations: 28.06 kB / 300.7 MB, free: 5.438 MB / 282.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.0002492/0.04638, allocations: 224.3 kB / 301 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.04651, allocations: 123.4 kB / 301.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.04662, allocations: 129.8 kB / 301.2 MB, free: 4.953 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.04664, allocations: 8 kB / 301.2 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.04665, allocations: 4.125 kB / 301.2 MB, free: 4.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.04665, allocations: 3.984 kB / 301.2 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002024/0.04868, allocations: 1.881 MB / 303.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.04868, allocations: 0 / 303.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.04895, allocations: 115.8 kB / 303.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/0.04934, allocations: 238.5 kB / 303.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.776e-05/0.04938, allocations: 24 kB / 303.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004232/0.05361, allocations: 8.893 MB / 312.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.05361, allocations: 3.938 kB / 312.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.05462, allocations: 1.026 MB / 313.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.05483, allocations: 175.2 kB / 313.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.0549, allocations: 16 kB / 313.6 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.05509, allocations: 23.98 kB / 313.6 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.05521, allocations: 80.84 kB / 313.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.05524, allocations: 23.97 kB / 313.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002695/0.05551, allocations: 442.8 kB / 314.1 MB, free: 7.445 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05551, allocations: 0 / 314.1 MB, free: 7.445 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008767/0.05638, allocations: 383.9 kB / 314.5 MB, free: 7.07 MB / 298.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.0002114/0.0566, allocations: 139.2 kB / 314.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.05783, allocations: 1.333 MB / 316 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.05783, allocations: 4 kB / 316 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.05857, allocations: 1.123 MB / 317.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.05927, allocations: 291.1 kB / 317.4 MB, free: 4.035 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.06267, allocations: 3.12 MB / 320.5 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.06305, allocations: 0.5297 MB / 321 MB, free: 300 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002333/0.06329, allocations: 112.6 kB / 321.2 MB, free: 184 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.06372, allocations: 338 kB / 321.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.06372, allocations: 0 / 321.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of Templates: time 0.02553/0.08925, allocations: 21.72 MB / 343.2 MB, free: 10.14 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/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.6097481823526323]