Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.001062/0.001062, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001486/0.002548, allocations: 449.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.00114/0.00114, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002478, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.987/0.987, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0819/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1146/0.1146, allocations: 29.44 MB / 273.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1246/0.2392, allocations: 9.534 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.852e-05, allocations: 3.625 kB / 284.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.009195/0.009214, allocations: 5.232 MB / 289.5 MB, free: 7.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00539/0.0146, allocations: 2.286 MB / 291.8 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003517/0.01496, allocations: 28.12 kB / 291.8 MB, free: 6.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.01536, allocations: 163.8 kB / 291.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008516/0.01621, allocations: 454.6 kB / 292.4 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.0167, allocations: 258.3 kB / 292.6 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009424/0.01764, allocations: 0.8705 MB / 293.5 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.01805, allocations: 412.7 kB / 293.9 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.01865, allocations: 0.5329 MB / 294.4 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003357/0.01899, allocations: 287 kB / 294.7 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.199e-05/0.01906, allocations: 58.22 kB / 294.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.01935, allocations: 155.6 kB / 294.9 MB, free: 4.086 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.01948, allocations: 165.8 kB / 295.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.01964, allocations: 175.6 kB / 295.3 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005507/0.02019, allocations: 0.4983 MB / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.0202, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02021, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.02022, allocations: 0 / 295.8 MB, free: 3.262 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0009263/0.02114, allocations: 0.9371 MB / 296.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.527e-05/0.02117, allocations: 12.03 kB / 296.7 MB, free: 2.289 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.536e-05/0.02125, allocations: 76.88 kB / 296.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.02173, allocations: 421.2 kB / 297.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.02175, allocations: 37.06 kB / 297.2 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.02182, allocations: 48 kB / 297.3 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.02217, allocations: 398.2 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.02219, allocations: 3.953 kB / 297.7 MB, free: 1.254 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.02221, allocations: 16 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.02225, allocations: 17 kB / 297.7 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.02241, allocations: 141.6 kB / 297.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.02361, allocations: 1.545 MB / 299.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.0238, allocations: 198.3 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.02385, allocations: 38.64 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.02387, allocations: 7.984 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000146/0.02401, allocations: 143.5 kB / 299.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.423e-06/0.02402, allocations: 4 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006704/0.02469, allocations: 459.7 kB / 300.2 MB, free: 14.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.02473, allocations: 118.7 kB / 300.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002402/0.02497, allocations: 376.8 kB / 300.7 MB, free: 14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.02499, allocations: 33.95 kB / 300.7 MB, free: 13.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.02509, allocations: 265.1 kB / 301 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.02514, allocations: 99.19 kB / 301.1 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.02521, allocations: 78.06 kB / 301.2 MB, free: 13.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.02531, allocations: 358.7 kB / 301.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.574e-05/0.02535, allocations: 31.81 kB / 301.6 MB, free: 13.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.02547, allocations: 204 kB / 301.8 MB, free: 12.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.02563, allocations: 243 kB / 302 MB, free: 12.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.02564, allocations: 0 / 302 MB, free: 12.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003127/0.02595, allocations: 295.8 kB / 302.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.02596, allocations: 8 kB / 302.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.02597, allocations: 4 kB / 302.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.02618, allocations: 83.73 kB / 302.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.02635, allocations: 96.39 kB / 302.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.02738, allocations: 1.417 MB / 303.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.02749, allocations: 15.98 kB / 303.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.0275, allocations: 19.98 kB / 303.9 MB, free: 10.53 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.02766, allocations: 136.5 kB / 304 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.0277, allocations: 35.91 kB / 304.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.02791, allocations: 183.3 kB / 304.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.02791, allocations: 8 kB / 304.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02792, allocations: 4 kB / 304.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.02792, allocations: 0 / 304.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.02838, allocations: 489.8 kB / 304.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.02838, allocations: 3.984 kB / 304.8 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.02856, allocations: 59.84 kB / 304.8 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.02864, allocations: 43.7 kB / 304.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.02875, allocations: 39.64 kB / 304.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.02876, allocations: 11.98 kB / 304.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007372/0.0295, allocations: 1.246 MB / 306.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.0295, allocations: 3.984 kB / 306.2 MB, free: 8.148 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.02977, allocations: 361.8 kB / 306.5 MB, free: 7.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.0298, allocations: 11.94 kB / 306.5 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.02989, allocations: 7.984 kB / 306.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.02993, allocations: 23.91 kB / 306.6 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.02994, allocations: 11.98 kB / 306.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.03005, allocations: 155.5 kB / 306.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03005, allocations: 0 / 306.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003155/0.03037, allocations: 131.9 kB / 306.8 MB, free: 7.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (dcm_par.rotor.phi,dcm_par.rotor.w,dcm_par.motor.i,dcm_par.motor.i_f,tabLoad.s) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.03167, allocations: 0.6188 MB / 307.5 MB, free: 7.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003635/0.03204, allocations: 311.9 kB / 307.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/0.03205, allocations: 8 kB / 307.8 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.03222, allocations: 199.9 kB / 308 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.03256, allocations: 159.2 kB / 308.1 MB, free: 6.473 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007792/0.04035, allocations: 1.024 MB / 309.2 MB, free: 5.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.04046, allocations: 141.2 kB / 309.3 MB, free: 5.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.04066, allocations: 55.39 kB / 309.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.04085, allocations: 141.3 kB / 309.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.04085, allocations: 0 / 309.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of Templates: time 0.011/0.05184, allocations: 7.434 MB / 316.9 MB, free: 13.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9740783190354705]