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.001156/0.001156, allocations: 75.77 kB / 22.45 MB, free: 2.098 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.00124/0.00124, allocations: 159.9 kB / 25.75 MB, free: 8.582 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.9481/0.9481, allocations: 158.6 MB / 187.5 MB, free: 2.902 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 2.014e-06/2.014e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.669e-05, allocations: 6.25 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005624/0.005651, allocations: 5.994 MB / 257.1 MB, free: 1.773 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.009095, allocations: 1.695 MB / 258.8 MB, free: 72 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006073/0.009703, allocations: 51.62 kB / 258.8 MB, free: 20 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004973/0.0102, allocations: 305.5 kB / 259.1 MB, free: 15.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.01142, allocations: 452.7 kB / 259.6 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.01202, allocations: 355.3 kB / 259.9 MB, free: 14.93 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002008/0.01403, allocations: 2.222 MB / 262.2 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001648/0.01568, allocations: 1.328 MB / 263.5 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.01743, allocations: 1.571 MB / 265.1 MB, free: 9.73 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001631/0.01906, allocations: 1.161 MB / 266.2 MB, free: 8.566 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005626/0.01962, allocations: 291.9 kB / 266.5 MB, free: 8.281 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005421/0.02016, allocations: 407.7 kB / 266.9 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004943/0.02066, allocations: 0.7323 MB / 267.6 MB, free: 7.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008427/0.0215, allocations: 0.8693 MB / 268.5 MB, free: 6.277 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00187/0.02337, allocations: 2.04 MB / 270.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.02338, allocations: 0 / 270.5 MB, free: 4.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02338, allocations: 4 kB / 270.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.177e-05/0.02341, allocations: 3.938 kB / 270.5 MB, free: 4.223 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.002846/0.02625, allocations: 2.602 MB / 273.1 MB, free: 1.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.0263, allocations: 11.98 kB / 273.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005011/0.0268, allocations: 411.4 kB / 273.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.02799, allocations: 1.03 MB / 274.6 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/0.02808, allocations: 156.6 kB / 274.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.02827, allocations: 200.4 kB / 274.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.03027, allocations: 1.589 MB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.03031, allocations: 3.938 kB / 276.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.03042, allocations: 83.94 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.088e-05/0.03048, allocations: 52 kB / 276.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.03172, allocations: 0.6953 MB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.03832, allocations: 6.093 MB / 283.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.03951, allocations: 0.8232 MB / 284.3 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008624/0.04038, allocations: 498.8 kB / 284.8 MB, free: 5.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.04042, allocations: 16.98 kB / 284.8 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.04046, allocations: 50.39 kB / 284.8 MB, free: 5.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 4.068e-06/0.04046, allocations: 0 / 284.8 MB, free: 5.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.004735/0.0452, allocations: 2.318 MB / 287.1 MB, free: 3.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.04524, allocations: 60.41 kB / 287.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008496/0.04608, allocations: 0.7649 MB / 288 MB, free: 2.309 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.04614, allocations: 45.7 kB / 288 MB, free: 2.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.04666, allocations: 0.9204 MB / 288.9 MB, free: 1.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000238/0.0469, allocations: 349.1 kB / 289.3 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.04715, allocations: 192.2 kB / 289.5 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.04733, allocations: 0.5277 MB / 290 MB, free: 252 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000338/0.04767, allocations: 149.9 kB / 290.1 MB, free: 104 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.04816, allocations: 415.9 kB / 290.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.04903, allocations: 0.6218 MB / 291.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.04904, allocations: 0 / 291.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001515/0.05055, allocations: 0.8779 MB / 292 MB, free: 13.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.05057, allocations: 12.41 kB / 292.1 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.05059, allocations: 11.98 kB / 292.1 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006785/0.05127, allocations: 254.4 kB / 292.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.05178, allocations: 171.7 kB / 292.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006271/0.05805, allocations: 9.199 MB / 301.7 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.05847, allocations: 47.95 kB / 301.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.05854, allocations: 36 kB / 301.8 MB, free: 3.77 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.0006894/0.05923, allocations: 216.3 kB / 302 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.05943, allocations: 135.4 kB / 302.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.05958, allocations: 125.8 kB / 302.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.05961, allocations: 12 kB / 302.2 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.05962, allocations: 7.938 kB / 302.3 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.05963, allocations: 3.984 kB / 302.3 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003516/0.06314, allocations: 2.312 MB / 304.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.06315, allocations: 0 / 304.6 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.06355, allocations: 127.9 kB / 304.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/0.06415, allocations: 266.7 kB / 305 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-05/0.0642, allocations: 20 kB / 305 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005916/0.07012, allocations: 9.129 MB / 314.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.07012, allocations: 0 / 314.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.08106, allocations: 1.155 MB / 315.3 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.08144, allocations: 195.2 kB / 315.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.08154, allocations: 23.98 kB / 315.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002968/0.08183, allocations: 35.97 kB / 315.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002215/0.08206, allocations: 96.81 kB / 315.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.08211, allocations: 27.98 kB / 315.6 MB, free: 5.262 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005022/0.08261, allocations: 466.9 kB / 316.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08261, allocations: 0 / 316.1 MB, free: 4.812 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01054/0.09315, allocations: 380 kB / 316.5 MB, free: 4.441 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.0002591/0.09341, allocations: 159 kB / 316.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01065/0.1041, allocations: 1.398 MB / 318 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1041, allocations: 0 / 318 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.1051, allocations: 1.156 MB / 319.2 MB, free: 1.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009555/0.1061, allocations: 283.4 kB / 319.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02293/0.129, allocations: 3.147 MB / 322.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.1295, allocations: 0.5297 MB / 323.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003723/0.1298, allocations: 144.6 kB / 323.3 MB, free: 13.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.1303, allocations: 72.48 kB / 323.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.492e-06/0.1303, allocations: 0 / 323.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of Templates: time 0.02943/0.1597, allocations: 20.05 MB / 343.4 MB, free: 9.289 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.5849315871018916]