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.0009179/0.0009179, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.002193, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0007501/0.0007501, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009727/0.001723, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.075/1.075, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1755/1.251, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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.803e-06/1.803e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.403e-05, allocations: 2.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.01691/0.01694, allocations: 5.975 MB / 228 MB, free: 10.05 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006762/0.0237, allocations: 1.768 MB / 229.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.02448, allocations: 47.69 kB / 229.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006302/0.02511, allocations: 317.5 kB / 230.1 MB, free: 7.914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004434/0.02955, allocations: 444.6 kB / 230.5 MB, free: 7.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007441/0.03029, allocations: 355.4 kB / 230.9 MB, free: 7.129 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005406/0.0357, allocations: 2.237 MB / 233.1 MB, free: 4.883 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004847/0.04054, allocations: 1.355 MB / 234.5 MB, free: 3.445 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006014/0.04656, allocations: 1.668 MB / 236.1 MB, free: 1.773 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004311/0.05087, allocations: 1.169 MB / 237.3 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009046/0.05177, allocations: 288 kB / 237.6 MB, free: 328 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.05287, allocations: 411.7 kB / 238 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005373/0.05341, allocations: 0.5923 MB / 238.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005497/0.05891, allocations: 0.7097 MB / 239.3 MB, free: 14.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.0628, allocations: 1.9 MB / 241.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.032e-05/0.06282, allocations: 0 / 241.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.06282, allocations: 0 / 241.2 MB, free: 12.71 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001435/0.06297, allocations: 0 / 241.2 MB, free: 12.71 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.005707/0.06867, allocations: 2.759 MB / 243.9 MB, free: 9.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.06872, allocations: 8.031 kB / 243.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007409/0.06946, allocations: 397.8 kB / 244.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/0.07108, allocations: 0.6721 MB / 245 MB, free: 8.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.07121, allocations: 156.5 kB / 245.2 MB, free: 8.637 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002931/0.07151, allocations: 196.4 kB / 245.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/0.07443, allocations: 1.494 MB / 246.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.07448, allocations: 7.875 kB / 246.9 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.07465, allocations: 84 kB / 246.9 MB, free: 6.762 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.813e-05/0.07474, allocations: 52 kB / 247 MB, free: 6.711 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.07619, allocations: 0.5491 MB / 247.5 MB, free: 6.133 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009001/0.08519, allocations: 4.439 MB / 252 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.08635, allocations: 0.731 MB / 252.7 MB, free: 0.8008 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.08721, allocations: 412 kB / 253.1 MB, free: 408 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-05/0.08728, allocations: 25 kB / 253.1 MB, free: 380 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.637e-05/0.08731, allocations: 39.56 kB / 253.2 MB, free: 332 kB / 250.7 MB Notification: Performance of pre-optimization done (n=96): time 3.878e-06/0.08732, allocations: 0 / 253.2 MB, free: 332 kB / 250.7 MB Notification: Performance of matching and sorting (n=97): time 0.004573/0.09189, allocations: 1.631 MB / 254.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.09193, allocations: 68.34 kB / 254.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007893/0.09272, allocations: 0.6013 MB / 255.5 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.882e-05/0.09278, allocations: 41.7 kB / 255.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005058/0.09329, allocations: 0.7516 MB / 256.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.09358, allocations: 345 kB / 256.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002783/0.09385, allocations: 166.5 kB / 256.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.09399, allocations: 349.9 kB / 257.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.09425, allocations: 116.8 kB / 257.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.09463, allocations: 285.7 kB / 257.5 MB, free: 11.83 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.0954, allocations: 0.5077 MB / 258 MB, free: 11.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.09541, allocations: 8 kB / 258 MB, free: 11.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002263/0.09767, allocations: 0.6219 MB / 258.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.09769, allocations: 8 kB / 258.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.09771, allocations: 8 kB / 258.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.09825, allocations: 231.7 kB / 258.9 MB, free: 10.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.09873, allocations: 183.8 kB / 259.1 MB, free: 10.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004246/0.103, allocations: 6.495 MB / 265.6 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.1034, allocations: 32.08 kB / 265.6 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/0.1034, allocations: 31.94 kB / 265.6 MB, free: 3.238 MB / 266.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.0004516/0.1039, allocations: 164.5 kB / 265.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.1041, allocations: 95.84 kB / 265.9 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.1042, allocations: 125.8 kB / 266 MB, free: 2.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.1042, allocations: 16.03 kB / 266 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.1043, allocations: 0 / 266 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/0.1043, allocations: 3.984 kB / 266 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.1068, allocations: 1.568 MB / 267.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.1068, allocations: 7.938 kB / 267.6 MB, free: 1.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/0.1071, allocations: 139.9 kB / 267.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.1074, allocations: 123.3 kB / 267.8 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.1078, allocations: 225.1 kB / 268.1 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.1078, allocations: 23.92 kB / 268.1 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.1118, allocations: 6.475 MB / 274.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1118, allocations: 0 / 274.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009806/0.1128, allocations: 0.8987 MB / 275.5 MB, free: 8.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.1129, allocations: 16 kB / 275.5 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.1131, allocations: 31.92 kB / 275.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.1132, allocations: 72.86 kB / 275.6 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.1133, allocations: 19.98 kB / 275.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002823/0.1135, allocations: 296.5 kB / 275.9 MB, free: 8.477 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1135, allocations: 0 / 275.9 MB, free: 8.477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00115/0.1147, allocations: 379.9 kB / 276.3 MB, free: 8.105 MB / 282.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.0002458/0.1149, allocations: 132.2 kB / 276.4 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1161, allocations: 1.081 MB / 277.5 MB, free: 6.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.534e-05/0.1161, allocations: 18.62 kB / 277.5 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000774/0.1169, allocations: 0.9066 MB / 278.4 MB, free: 5.859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/0.1185, allocations: 3.106 MB / 281.5 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1184/0.237, allocations: 3.412 MB / 284.9 MB, free: 48.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/0.2377, allocations: 474 kB / 285.4 MB, free: 48.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000494/0.2382, allocations: 110 kB / 285.5 MB, free: 48.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.2388, allocations: 297.4 kB / 285.8 MB, free: 48.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.913e-06/0.2388, allocations: 2.094 kB / 285.8 MB, free: 48.71 MB / 282.7 MB Notification: Performance of Templates: time 0.03176/0.2706, allocations: 22.5 MB / 308.3 MB, free: 36.92 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.662012576125562]