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.001428/0.001428, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001482/0.001482, allocations: 159.3 kB / 24.5 MB, free: 3.715 MB / 14.72 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 1.575/1.575, allocations: 177.2 MB / 204.9 MB, free: 9.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1766/0.1766, allocations: 29.43 MB / 290.7 MB, free: 3.27 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="Time|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="Time|power.p|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002511/0.002511, allocations: 63.91 kB / 431.2 MB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3774, allocations: 62.44 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007843/0.3853, allocations: 5.519 MB / 499.2 MB, free: 34.12 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.3895, allocations: 2.138 MB / 0.4895 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006722/0.3902, allocations: 24.62 kB / 0.4896 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.391, allocations: 166.9 kB / 0.4897 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001722/0.3927, allocations: 455.6 kB / 0.4902 GB, free: 32.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008803/0.3936, allocations: 255 kB / 0.4904 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.3952, allocations: 0.8641 MB / 0.4912 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006712/0.3958, allocations: 378.3 kB / 0.4916 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008041/0.3966, allocations: 373.1 kB / 0.492 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008158/0.3974, allocations: 327.4 kB / 0.4923 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001932/0.3976, allocations: 57.75 kB / 0.4923 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.3982, allocations: 145.8 kB / 0.4925 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.3985, allocations: 191.3 kB / 0.4927 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004943/0.399, allocations: 249.6 kB / 0.4929 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.4001, allocations: 0.8019 MB / 0.4937 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4001, allocations: 0 / 0.4937 GB, free: 30.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4001, allocations: 0 / 0.4937 GB, free: 30.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.4001, allocations: 0 / 0.4937 GB, free: 30.73 MB / 446.1 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.001703/0.4018, allocations: 0.8647 MB / 0.4945 GB, free: 30.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4019, allocations: 12.89 kB / 0.4945 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.402, allocations: 70.83 kB / 0.4946 GB, free: 30.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000844/0.4028, allocations: 469.5 kB / 0.495 GB, free: 29.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.4029, allocations: 28.06 kB / 0.4951 GB, free: 29.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.403, allocations: 55.5 kB / 0.4951 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.4037, allocations: 0.5435 MB / 0.4957 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.4037, allocations: 3.156 kB / 0.4957 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.4037, allocations: 15.06 kB / 0.4957 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.402e-05/0.4038, allocations: 19.61 kB / 0.4957 GB, free: 29.42 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004964/0.4043, allocations: 331.6 kB / 0.496 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/0.4065, allocations: 1.832 MB / 0.4978 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/0.4068, allocations: 219 kB / 0.498 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.4069, allocations: 77.69 kB / 0.4981 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.407, allocations: 6.25 kB / 0.4981 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.4072, allocations: 169.7 kB / 0.4982 GB, free: 27.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.723e-06/0.4072, allocations: 0 / 0.4982 GB, free: 27.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=25): time 0.001543/0.4087, allocations: 0.8638 MB / 0.4991 GB, free: 27.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4088, allocations: 138.2 kB / 0.4992 GB, free: 26.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003892/0.4092, allocations: 414 kB / 0.4996 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4092, allocations: 32.98 kB / 0.4996 GB, free: 26.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.4093, allocations: 307.5 kB / 0.4999 GB, free: 26.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.776e-05/0.4094, allocations: 95.28 kB / 0.5 GB, free: 26.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.4095, allocations: 76.23 kB / 0.5001 GB, free: 26.28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.4096, allocations: 357.8 kB / 0.5004 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.4097, allocations: 88.75 kB / 0.5005 GB, free: 25.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4099, allocations: 248.5 kB / 0.5008 GB, free: 25.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.4102, allocations: 323.3 kB / 0.5011 GB, free: 25.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4103, allocations: 7.062 kB / 0.5011 GB, free: 25.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007722/0.411, allocations: 436 kB / 0.5015 GB, free: 25.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.411, allocations: 6.344 kB / 0.5015 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.411, allocations: 6.656 kB / 0.5015 GB, free: 25.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004369/0.4115, allocations: 97.33 kB / 0.5016 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002451/0.4117, allocations: 67.08 kB / 0.5017 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.4135, allocations: 1.696 MB / 0.5033 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.4138, allocations: 17.67 kB / 0.5033 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.4138, allocations: 21.86 kB / 0.5034 GB, free: 23.74 MB / 446.1 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.0002382/0.414, allocations: 211.2 kB / 0.5036 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.4141, allocations: 43.38 kB / 0.5036 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000538/0.4147, allocations: 288.1 kB / 0.5039 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4147, allocations: 3.344 kB / 0.5039 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.4147, allocations: 0 / 0.5039 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4147, allocations: 0 / 0.5039 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4157, allocations: 0.6573 MB / 0.5045 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4157, allocations: 3.062 kB / 0.5045 GB, free: 22.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.416, allocations: 50.53 kB / 0.5046 GB, free: 22.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/0.4162, allocations: 54.02 kB / 0.5046 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4162, allocations: 7.562 kB / 0.5046 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001001/0.4172, allocations: 1.418 MB / 0.506 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4172, allocations: 0 / 0.506 GB, free: 21.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006352/0.4178, allocations: 479.3 kB / 0.5065 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.418, allocations: 53.25 kB / 0.5065 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/0.418, allocations: 10.84 kB / 0.5065 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.4182, allocations: 9.156 kB / 0.5065 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.4183, allocations: 30.02 kB / 0.5066 GB, free: 21.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.4183, allocations: 4.969 kB / 0.5066 GB, free: 21.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002753/0.4186, allocations: 292 kB / 0.5069 GB, free: 21.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4186, allocations: 0 / 0.5069 GB, free: 21.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.4192, allocations: 135.3 kB / 0.507 GB, free: 21.14 MB / 446.1 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.001609/0.4208, allocations: 485.1 kB / 0.5074 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000718/0.4215, allocations: 388.8 kB / 0.5078 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4215, allocations: 0 / 0.5078 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.4218, allocations: 232.7 kB / 0.508 GB, free: 20.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.4225, allocations: 126.5 kB / 0.5082 GB, free: 20.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.4243, allocations: 1.185 MB / 0.5093 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.4246, allocations: 284.7 kB / 0.5096 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002318/0.4248, allocations: 61.22 kB / 0.5097 GB, free: 19.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.963e-05/0.4249, allocations: 40.19 kB / 0.5097 GB, free: 19.63 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4249, allocations: 7.281 kB / 0.5097 GB, free: 19.62 MB / 446.1 MB Notification: Performance of Templates: time 0.0129/0.4378, allocations: 6.522 MB / 0.5161 GB, free: 18.83 MB / 446.1 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=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.773310063988902]