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.0007613/0.0007613, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001019/0.00178, allocations: 445.7 kB / 10.37 MB, free: 328 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.0006858/0.0006858, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009885/0.001674, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 0.8433/0.8433, allocations: 158.6 MB / 171.1 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1508/0.994, allocations: 49.49 MB / 220.6 MB, free: 1.449 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.152e-06/1.152e-06, allocations: 0 / 221.8 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.871e-05, allocations: 2.312 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005012/0.005031, allocations: 5.968 MB / 227.8 MB, free: 10.16 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.008396, allocations: 1.768 MB / 229.6 MB, free: 8.379 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.009028, allocations: 47.69 kB / 229.6 MB, free: 8.332 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004684/0.009497, allocations: 309.5 kB / 229.9 MB, free: 8.027 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.01053, allocations: 456.6 kB / 230.4 MB, free: 7.578 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.0112, allocations: 355.5 kB / 230.7 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.01301, allocations: 2.229 MB / 233 MB, free: 4.992 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.01435, allocations: 1.355 MB / 234.3 MB, free: 3.555 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.01604, allocations: 1.675 MB / 236 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.0176, allocations: 1.165 MB / 237.1 MB, free: 0.707 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006552/0.01825, allocations: 292 kB / 237.4 MB, free: 432 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.01886, allocations: 407.8 kB / 237.8 MB, free: 24 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.01925, allocations: 0.5922 MB / 238.4 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007207/0.01997, allocations: 0.7136 MB / 239.1 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.02166, allocations: 1.896 MB / 241 MB, free: 12.81 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.02168, allocations: 0 / 241 MB, free: 12.81 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.02168, allocations: 0 / 241 MB, free: 12.81 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.347e-05/0.02176, allocations: 0 / 241 MB, free: 12.81 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.002808/0.02457, allocations: 2.759 MB / 243.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.0246, allocations: 12.03 kB / 243.8 MB, free: 10 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.02497, allocations: 397.8 kB / 244.2 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008025/0.02577, allocations: 0.6643 MB / 244.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.536e-05/0.02585, allocations: 156.5 kB / 245 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.02602, allocations: 204.4 kB / 245.2 MB, free: 8.547 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.02746, allocations: 1.494 MB / 246.7 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.02749, allocations: 7.938 kB / 246.7 MB, free: 6.945 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.02759, allocations: 80 kB / 246.8 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.02764, allocations: 55.94 kB / 246.8 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006875/0.02832, allocations: 0.5413 MB / 247.4 MB, free: 6.242 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004607/0.03293, allocations: 4.439 MB / 251.8 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.03377, allocations: 0.7312 MB / 252.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004361/0.03421, allocations: 423.9 kB / 253 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.03425, allocations: 13 kB / 253 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.03427, allocations: 43.56 kB / 253 MB, free: 440 kB / 250.7 MB Notification: Performance of pre-optimization done (n=96): time 2.936e-06/0.03427, allocations: 4 kB / 253 MB, free: 436 kB / 250.7 MB Notification: Performance of matching and sorting (n=97): time 0.002406/0.03668, allocations: 1.6 MB / 254.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.03671, allocations: 64.41 kB / 254.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004249/0.03714, allocations: 0.6013 MB / 255.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.03718, allocations: 41.7 kB / 255.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005592/0.03773, allocations: 0.7555 MB / 256.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.0379, allocations: 337 kB / 256.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.03805, allocations: 174.5 kB / 256.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.768e-05/0.03815, allocations: 349.9 kB / 256.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.0383, allocations: 116.8 kB / 257 MB, free: 12.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.03852, allocations: 281.7 kB / 257.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004017/0.03893, allocations: 0.4999 MB / 257.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.03893, allocations: 0 / 257.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.000671/0.0396, allocations: 0.6297 MB / 258.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.03961, allocations: 8 kB / 258.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.03962, allocations: 4 kB / 258.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.04002, allocations: 215.8 kB / 258.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.04042, allocations: 195.8 kB / 258.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003915/0.04433, allocations: 6.488 MB / 265.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.04459, allocations: 27.98 kB / 265.4 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/0.04464, allocations: 28 kB / 265.4 MB, free: 3.41 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.000345/0.04498, allocations: 176.5 kB / 265.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.04511, allocations: 99.83 kB / 265.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.04522, allocations: 125.8 kB / 265.8 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/0.04524, allocations: 12 kB / 265.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.04525, allocations: 0 / 265.8 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.04526, allocations: 7.969 kB / 265.8 MB, free: 2.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.04728, allocations: 1.58 MB / 267.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.04728, allocations: 0 / 267.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003217/0.0476, allocations: 143.8 kB / 267.5 MB, free: 1.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.04777, allocations: 119.3 kB / 267.7 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.04818, allocations: 221 kB / 267.9 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.04821, allocations: 20 kB / 267.9 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003584/0.05179, allocations: 6.486 MB / 274.4 MB, free: 9.984 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.0518, allocations: 4 kB / 274.4 MB, free: 9.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/0.05267, allocations: 0.887 MB / 275.3 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.671e-05/0.05273, allocations: 23.98 kB / 275.3 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.05291, allocations: 20 kB / 275.3 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.05302, allocations: 76.84 kB / 275.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.261e-05/0.05305, allocations: 20 kB / 275.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002774/0.05333, allocations: 292.5 kB / 275.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.05333, allocations: 0 / 275.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001193/0.05453, allocations: 379.9 kB / 276.1 MB, free: 8.262 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.000226/0.05475, allocations: 140.1 kB / 276.2 MB, free: 8.117 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.05627, allocations: 1.06 MB / 277.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.504e-05/0.0563, allocations: 26.61 kB / 277.3 MB, free: 6.977 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.0571, allocations: 0.8655 MB / 278.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/0.05796, allocations: 367.2 kB / 278.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0094/0.06736, allocations: 3.434 MB / 281.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.06787, allocations: 474.5 kB / 282.4 MB, free: 1.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000388/0.06825, allocations: 108.8 kB / 282.5 MB, free: 1.602 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.06879, allocations: 289.1 kB / 282.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.06879, allocations: 0 / 282.8 MB, free: 1.316 MB / 282.7 MB Notification: Performance of Templates: time 0.1259/0.1947, allocations: 22.29 MB / 305.1 MB, free: 40.22 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.349176117219031]