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.001316/0.001316, allocations: 84.25 kB / 22.22 MB, free: 2.285 MB / 18.57 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.001437/0.001437, allocations: 161.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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.017/1.017, allocations: 177 MB / 205.9 MB, free: 4.441 MB / 186.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.843e-06/1.843e-06, allocations: 0 / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.931e-05/3.115e-05, allocations: 5.047 kB / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007986/0.008017, allocations: 5.982 MB / 280.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.01139, allocations: 1.694 MB / 281.8 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004498/0.01184, allocations: 55.69 kB / 281.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004367/0.01228, allocations: 309.5 kB / 282.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.01331, allocations: 456.7 kB / 282.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.01385, allocations: 359.4 kB / 282.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.0156, allocations: 2.23 MB / 285.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.01704, allocations: 1.36 MB / 286.5 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001624/0.01866, allocations: 1.61 MB / 288.1 MB, free: 6.141 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.01994, allocations: 1.173 MB / 289.3 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003595/0.0203, allocations: 292 kB / 289.6 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004591/0.02076, allocations: 407.7 kB / 290 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004169/0.02117, allocations: 0.7401 MB / 290.7 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001204/0.02238, allocations: 0.8615 MB / 291.6 MB, free: 2.676 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.02407, allocations: 2.052 MB / 293.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.02407, allocations: 0 / 293.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.02407, allocations: 0 / 293.6 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.0241, allocations: 0 / 293.6 MB, free: 0.6172 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.002536/0.02663, allocations: 2.575 MB / 296.2 MB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.02668, allocations: 12.03 kB / 296.2 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/0.0272, allocations: 423.4 kB / 296.6 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.02825, allocations: 1.081 MB / 297.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.11e-05/0.02833, allocations: 160.5 kB / 297.9 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.02852, allocations: 204.3 kB / 298.1 MB, free: 12.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/0.03035, allocations: 1.46 MB / 299.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.03038, allocations: 3.938 kB / 299.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.03049, allocations: 88 kB / 299.6 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.129e-05/0.03056, allocations: 80.11 kB / 299.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.0313, allocations: 0.5198 MB / 300.2 MB, free: 9.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005894/0.0372, allocations: 5.675 MB / 305.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.03791, allocations: 0.7431 MB / 306.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.03843, allocations: 450.5 kB / 307.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.03847, allocations: 17 kB / 307.1 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.0385, allocations: 46.38 kB / 307.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.0385, allocations: 0 / 307.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=97): time 0.002946/0.04145, allocations: 1.773 MB / 308.9 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.04148, allocations: 60.41 kB / 309 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.04203, allocations: 0.7567 MB / 309.7 MB, free: 56 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.903e-05/0.04207, allocations: 41.7 kB / 309.8 MB, free: 8 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.04249, allocations: 0.932 MB / 310.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.04267, allocations: 353 kB / 311.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.04285, allocations: 188.2 kB / 311.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.043, allocations: 0.5393 MB / 311.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.04316, allocations: 113.9 kB / 311.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00028/0.04344, allocations: 383.8 kB / 312.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007707/0.04421, allocations: 0.5592 MB / 312.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.04421, allocations: 0 / 312.8 MB, free: 12.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0009106/0.04512, allocations: 0.796 MB / 313.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.04514, allocations: 8 kB / 313.6 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.04515, allocations: 4 kB / 313.6 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.04565, allocations: 242.7 kB / 313.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.04601, allocations: 159.8 kB / 314 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/0.0508, allocations: 8.976 MB / 323 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.0512, allocations: 32.03 kB / 323 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.05124, allocations: 35.92 kB / 323.1 MB, free: 2.012 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.0003936/0.05164, allocations: 212.5 kB / 323.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.05179, allocations: 135.3 kB / 323.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.05192, allocations: 121.8 kB / 323.5 MB, free: 1.535 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.05193, allocations: 12 kB / 323.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.05194, allocations: 0 / 323.5 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.05195, allocations: 3.984 kB / 323.5 MB, free: 1.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/0.05422, allocations: 1.862 MB / 325.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.05422, allocations: 12 kB / 325.4 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.0545, allocations: 115.8 kB / 325.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003871/0.05488, allocations: 234.5 kB / 325.8 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.05492, allocations: 16 kB / 325.8 MB, free: 15.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/0.05941, allocations: 8.918 MB / 334.7 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.05941, allocations: 0 / 334.7 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.06051, allocations: 1.034 MB / 335.7 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.06073, allocations: 163.3 kB / 335.9 MB, free: 4.609 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.926e-05/0.0608, allocations: 24 kB / 335.9 MB, free: 4.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.061, allocations: 19.98 kB / 335.9 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.06113, allocations: 80.8 kB / 336 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.06116, allocations: 20 kB / 336 MB, free: 4.465 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003083/0.06147, allocations: 446.7 kB / 336.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06147, allocations: 0 / 336.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001051/0.06252, allocations: 384 kB / 336.8 MB, free: 3.66 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.0002111/0.06274, allocations: 148.3 kB / 337 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.06387, allocations: 1.329 MB / 338.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.06387, allocations: 0 / 338.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.0646, allocations: 1.127 MB / 339.4 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.06536, allocations: 290 kB / 339.7 MB, free: 0.625 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.06979, allocations: 3.144 MB / 342.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.07018, allocations: 0.5375 MB / 343.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.07048, allocations: 108.8 kB / 343.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.07093, allocations: 342 kB / 343.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.683e-06/0.07093, allocations: 4 kB / 343.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Templates: time 0.1339/0.2049, allocations: 21.66 MB / 365.5 MB, free: 76.11 MB / 330.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 -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.5608629477210343]