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.0009363/0.0009363, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.0009262/0.0009262, allocations: 164.7 kB / 25.69 MB, free: 8.398 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.9235/0.9235, allocations: 158.6 MB / 187.6 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.122e-06/1.122e-06, allocations: 0 / 251.6 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.708e-05, allocations: 6.312 kB / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.01228/0.0123, allocations: 5.952 MB / 257.5 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00619/0.01849, allocations: 1.76 MB / 259.3 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.01893, allocations: 47.69 kB / 259.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003523/0.02245, allocations: 305.5 kB / 259.6 MB, free: 15.13 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.02348, allocations: 452.6 kB / 260.1 MB, free: 14.69 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.02404, allocations: 347.5 kB / 260.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.02883, allocations: 2.233 MB / 262.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.0303, allocations: 1.355 MB / 264 MB, free: 10.67 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005601/0.0359, allocations: 1.579 MB / 265.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.03727, allocations: 1.165 MB / 266.7 MB, free: 7.918 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.03759, allocations: 292 kB / 267 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.03815, allocations: 415.6 kB / 267.4 MB, free: 7.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005077/0.03865, allocations: 0.7323 MB / 268.2 MB, free: 6.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007576/0.03941, allocations: 0.8654 MB / 269 MB, free: 5.625 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001806/0.04122, allocations: 2.033 MB / 271.1 MB, free: 3.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.04122, allocations: 4 kB / 271.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.04122, allocations: 0 / 271.1 MB, free: 3.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.552e-05/0.04125, allocations: 0 / 271.1 MB, free: 3.582 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.005806/0.04705, allocations: 2.307 MB / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.04709, allocations: 15.98 kB / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003468/0.05056, allocations: 320.7 kB / 273.7 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.05156, allocations: 0.672 MB / 274.4 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.05166, allocations: 156.5 kB / 274.5 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.05191, allocations: 204.4 kB / 274.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.05405, allocations: 1.494 MB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.05408, allocations: 3.938 kB / 276.2 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.05418, allocations: 84 kB / 276.3 MB, free: 14.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.05423, allocations: 52 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000721/0.05495, allocations: 0.5452 MB / 276.9 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004841/0.0598, allocations: 4.404 MB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.06043, allocations: 0.7234 MB / 282 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.06088, allocations: 408 kB / 282.4 MB, free: 7.852 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.06091, allocations: 20.94 kB / 282.4 MB, free: 7.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.06094, allocations: 47.56 kB / 282.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 2.275e-06/0.06094, allocations: 0 / 282.5 MB, free: 7.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.0024/0.06334, allocations: 1.611 MB / 284.1 MB, free: 6.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.06337, allocations: 60.41 kB / 284.2 MB, free: 6.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.06378, allocations: 0.5974 MB / 284.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/0.06382, allocations: 45.7 kB / 284.8 MB, free: 5.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.06413, allocations: 0.7516 MB / 285.5 MB, free: 4.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.06432, allocations: 337.1 kB / 285.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.06447, allocations: 170.5 kB / 286 MB, free: 4.125 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.06455, allocations: 349.9 kB / 286.4 MB, free: 3.777 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.0647, allocations: 116.8 kB / 286.5 MB, free: 3.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.06498, allocations: 289.6 kB / 286.8 MB, free: 3.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.06541, allocations: 0.4961 MB / 287.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.06541, allocations: 8 kB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0006998/0.06611, allocations: 0.6258 MB / 287.9 MB, free: 2.094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.06613, allocations: 8 kB / 287.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.06614, allocations: 4 kB / 287.9 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.06653, allocations: 215.7 kB / 288.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003863/0.06692, allocations: 183.7 kB / 288.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.07065, allocations: 6.496 MB / 294.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.07085, allocations: 28.11 kB / 294.8 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.07089, allocations: 32 kB / 294.9 MB, free: 10.76 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.0002498/0.07114, allocations: 164.5 kB / 295 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.07126, allocations: 95.84 kB / 295.1 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.07136, allocations: 125.8 kB / 295.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.07137, allocations: 16.03 kB / 295.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.07138, allocations: 7.938 kB / 295.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.07139, allocations: 3.984 kB / 295.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.07316, allocations: 1.572 MB / 296.8 MB, free: 8.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.07317, allocations: 3.984 kB / 296.8 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003097/0.07348, allocations: 131.9 kB / 297 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003516/0.07383, allocations: 224.7 kB / 297.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.07386, allocations: 20 kB / 297.2 MB, free: 8.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003434/0.0773, allocations: 6.478 MB / 303.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.0773, allocations: 0 / 303.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008632/0.07816, allocations: 0.883 MB / 304.6 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001696/0.07833, allocations: 127.3 kB / 304.7 MB, free: 444 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.07839, allocations: 20.12 kB / 304.7 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.07856, allocations: 27.98 kB / 304.8 MB, free: 396 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.07868, allocations: 76.86 kB / 304.8 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.07871, allocations: 19.98 kB / 304.8 MB, free: 296 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002043/0.07891, allocations: 296.5 kB / 305.1 MB, free: 0 / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07891, allocations: 0 / 305.1 MB, free: 0 / 282.7 MB Notification: Performance of remove unused functions: time 0.0007907/0.0797, allocations: 380 kB / 305.5 MB, free: 15.62 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.0001757/0.07988, allocations: 124.2 kB / 305.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.08105, allocations: 1.068 MB / 306.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.948e-06/0.08106, allocations: 12 kB / 306.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006003/0.08166, allocations: 0.8617 MB / 307.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.08226, allocations: 290.8 kB / 307.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.08573, allocations: 3.026 MB / 310.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.08607, allocations: 450.5 kB / 311.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.0863, allocations: 112.7 kB / 311.4 MB, free: 9.496 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.08672, allocations: 305 kB / 311.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.08672, allocations: 0 / 311.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of Templates: time 0.02406/0.1108, allocations: 21.36 MB / 333.1 MB, free: 3.852 MB / 314.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 -s gbode -gbm=radauIIA3 -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.1530482177622616]